← Back to User Input
Question 190
Seconds Into Minutes And Seconds
Seconds Into Minutes And Seconds
Read a number of seconds as a whole number and print it as whole minutes and leftover seconds in the form <minutes> min <seconds> s; use floor division // for the minutes and the remainder operator % for the seconds that do not fill a minute. Input: one line, an integer, no prompt.
Expected Output:
2 min 5 s= newline. The output ends with a newline — print one after the last line.
Hints3 available
Sign in to use hintsTopics:
User InputOperators
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.