+ 1

why this code doesn't work?

name = input() print( "welcome " + name ) age = input() print( "your age is: " + age )

13th Jun 2023, 4:25 PM
mohammad ali Sheikh
mohammad ali Sheikh - avatar
4 Respostas
+ 5
This code is work
13th Jun 2023, 4:29 PM
Sakshi [Offline 🙃]
Sakshi [Offline 🙃] - avatar
+ 4
The code does work maybe its just that your putting the inputs wrong when the prompt comes up
13th Jun 2023, 4:29 PM
Junior
Junior - avatar
+ 1
you are right guys, i think it's because of my input prompt.
13th Jun 2023, 4:42 PM
mohammad ali Sheikh
mohammad ali Sheikh - avatar
0
print("your age is: " + str(age))
15th Jun 2023, 12:52 PM
Vikas Dixit
Vikas Dixit - avatar