I assume the print statement is supposed to be outside of the function. Format as a code block in reddit to make it clear.
Ultimately you want the arguments you're feeding into total_seconds(h,m,s) to be variables so that you can reference those variables to get your minutes and seconds in your print statement.
View all comments
1
u/Rubix321 Oct 05 '26
I assume the print statement is supposed to be outside of the function. Format as a code block in reddit to make it clear.
Ultimately you want the arguments you're feeding into total_seconds(h,m,s) to be variables so that you can reference those variables to get your minutes and seconds in your print statement.