Getting an error message when I enter this | Sololearn: Learn to code for FREE!

0

Getting an error message when I enter this

X = int(2019)-int(input('enter birth year:') print('your age is %d years old', % X)

8/25/2019 8:55:18 AM

Onimisi

5 Answers

New Answer

+4

There should be no comma between print("your age is %d years old"%x)

+3

Sonny Walker what do you mean still getting the same result? https://code.sololearn.com/cDHHhcjvRFpH/?ref=app

+1

Its working fine. I just checked and i noticed i forgot to add an ending paranthesis in the first line

0

Still getting the same result

0

D'Lite ok i will check