Write a programExercise 2/4Basic10 XP

Minutes to hours

Task

The program gets a number of minutes (a whole number). Convert it to hours as a decimal number, round it to 2 decimal places with round and print it.

For 75 minutes the program prints 1.25, for 100 minutes 1.67. When the result is whole, Python prints for example 2.0 - that is correct too.

Examples

  • Input

    75

    Expected output

    1.25

After you submit, 5 hidden tests will also check your solution: needs rounding, exactly two hours, zero minutes, one minute, many minutes.

Python starts the first time you run code.

Ctrl+Enter runs the program. Tab indents. Press Esc, then Tab, to leave the editor.

Input (stdin)

Each line = one call to input().

Output

Hints

Try it yourself first. Each hint reveals a little more - and lowers the reward a little.

Signed out, hints are free - but no XP is awarded either.

Solution

The solution unlocks after the last hint.