+ 1
Phython Basics question
What's I'm doing wrong? My code: age = int(input()) name = input() if age>=18: print("Welcome" + name) else: print("Sorry") My output: WelcomeAmy (and other few names) Needed output: Welcome Amy
2 Respuestas
+ 2
print("Welcome "+ name) # space
Or
print(" Welcome" , name)
+ 1
I'll try. Thank you.