← Back to Functions
Question 323
Minutes To Seconds
Minutes To Seconds
Complete minutes_to_seconds(minutes: int) -> int so it returns the same length of time in seconds. The driver reads one whole number of minutes and prints what the function returns; leave the driver alone. Input: one line, an integer, no prompt. Output: the number of seconds on one line.
Expected Output:
120= newline. The output ends with a newline — print one after the last line.
Hints2 available
Sign in to use hintsTopics:
Functions
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.