# Python 3.4.x
print("Input number of days: ", end="")
days = int(input())
print("There are", days * 24, "hours,",
days * 1440, "minutes,", days * 86400, "seconds.")
# Python 2.7.x
from __future__ import print_function
print("Input number of days: ", end="")
days = int(raw_input())
print("There are", days * 24, "hours,",
days * 1440, "minutes,", days * 86400, "seconds.")
Comments
Leave a comment