You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
277 B
Python
8 lines
277 B
Python
5 years ago
|
days = int(input("Input days: ")) * 3600 * 24
|
||
|
hours = int(input("Input hours: ")) * 3600
|
||
|
minutes = int(input("Input minutes: ")) * 60
|
||
|
seconds = int(input("Input seconds: "))
|
||
|
|
||
|
time = days + hours + minutes + seconds
|
||
|
|
||
|
print("The amounts of seconds", time)
|