Skip to content
Sign upLog in
← Back to Community

is this code is correct or not

Profile icon
sbmjdevelopers

enter =str(input(' enter your name '))
print("Hello " + enter)
Age = input(' enter your age')
Name =str(enter)
age =int(Age)
print(f"Hello , {Name} and you completed {age * 12} months in this world"

Voters
Profile icon
sbmjdevelopers
Comments
hotnewtop
Profile icon
tp847

The code is correct, but in repl.it, there is an unexpected EOF while parsing. Other than that, it's good.