Date converter challange | Sololearn: Learn to code for FREE!

+1

Date converter challange

WHAT DID I DO WRONG, I GOT 5/5 WRONG

4/19/2020 9:26:51 PM

G4M3S4L1F3

9 Answers

New Answer

+1

month = 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

0

Use escape sequences inside print(day +'//' +month+'//'...). Are you converting date or just printing out the values

0

it wants me to go from mm/dd/yy to dd/mm/yy and change the date to month and the month to date

0

What's the output you are getting

0

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

0

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

0

i dont know, i think the computer just wants me to do it a specific way.

0

if you have any other aproches for my to try, please tell me.

0

thx for helping. im just thinking i should try a different way