9 Answers
New Answermonth = input("what is the month") year = input("what year is it?") day = input("what is today") print(day + "/" + month + "/" + year) that is my code, what is wrong with it
Use escape sequences inside print(day +'//' +month+'//'...). Are you converting date or just printing out the values
it wants me to go from mm/dd/yy to dd/mm/yy and change the date to month and the month to date
what is the monthwhat year is it? Traceback (most recent call last): File "./Playground/file0.py", line 2, in <module> year = input("what year is it?") EOFError: EOF when reading a line
The code seems to be working in my terminal. Are you entering values after each question. Coz after what is the month it seems you did not enter any value
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message