Link to all related videos in the playlist "Python quick and dirty sample source code"
https://dailymotion.com/playlist/x74cx0
days = int(input("Enter days: ")) * 3600 * 24
hours = int(input("Enter hours: ")) * 3600
minutes = int(input("Enter minutes: ")) * 60
seconds = int(input("Enter seconds: "))
times = days + hours + minutes + seconds
print("The amount of seconds is:", times)
https://dailymotion.com/playlist/x74cx0
days = int(input("Enter days: ")) * 3600 * 24
hours = int(input("Enter hours: ")) * 3600
minutes = int(input("Enter minutes: ")) * 60
seconds = int(input("Enter seconds: "))
times = days + hours + minutes + seconds
print("The amount of seconds is:", times)
Category
📚
Học tập