Sep-25-2018, 03:40 AM
(This post was last modified: Sep-25-2018, 03:46 AM by RustyShacklevert.)
I'm new to programming and i'm trying to make a simple calculator that calculates how many days, minutes and seconds someone has been alive. Everytime I run it and give the age "9" for example, it only prints out a bunch of 9s.
print("Answer the questions to find out how long you have been living in this world")
name = input('What is your name? ')
print('What is your age ',(name),'?')
age=input('age: ')
days=age*365
minutes=age*525600
seconds=age*31536000
print(name,'Has been alive for:', days,'days',minutes,'minutes',seconds,'seconds')
