Python question using two print statements. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Python question using two print statements.

Using floor division and modulo operator to find number of hours and remaining minutes. Use print() statement for each out put. It's how many hours in 888 minutes.

29th Aug 2021, 9:39 AM
Aaron Kennedy
Aaron Kennedy - avatar
1 Answer
+ 2
Aaron Kennedy if this is an exercise (inline) from a tutorial, the output has to be in 2 lines: 1. line hours 2. line minutes result should be: 14 48
29th Aug 2021, 9:57 AM
Lothar
Lothar - avatar