4 ответов
+ 7
Dibakar Acharjee ,
since you have started with sololearn just a few days ago, it is recommended to start learning from the *python for beginner* tutorial.
https://www.sololearn.com/Course/Python-for-Beginners/?ref=app
additional: here is a link to a short tutorial about the use of "//" (floor division) and "%" (modulo division):
https://www.sololearn.com/learn/Python/4430/?ref=app
+ 2
# Hi, Dibakar Acharjee !
# Here's an example:'
t = 128 # Minutes.
print(f"{t} minutes = {t//60} hours and {t%60} minutes.")
+ 1
Thanks, everyone. My confusion is now clear.
0
What about %