+ 1
Why am I getting an "EOF when reading a line" error?
print("Let's find out how long you've lived in days, hours, minutes and seconds!") name = input("Enter your name: ") print("Enter your age: ") age = int(input("Age: ")) days = age * 360 hours = age * 8,765 minutes = age * 5256 seconds = age * 31536 print(name, "has lived for", days, "days", hours, "hours", minutes, "minutes", "and", seconds, "seconds" )
1 Respuesta
+ 2
Your code if fine, it is the way they do input at Sololearn. You have to give all your input in one time on separate lines like this
Paul
2
And then press submit.