CJCoding With Joseph
15free / daySign inCreate account

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
Topics:
User InputOperators
📥 Auto-Input:
125\n
This input is automatically fed to your program's stdin
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.