0

What is wrong with this code šŸ˜…

NAME =str(input(enter the name: ) Print ("hello",NAME) I tried this code alot but every time when I enter the name they say it is not defined šŸ˜… and I don't know how to solve this problem ! By the way it is in python language

4th Oct 2022, 5:54 PM
Esraa Elsayed Mohamed
Esraa Elsayed Mohamed - avatar
4 Answers
+ 4
NAME = input("enter the name:")
4th Oct 2022, 6:06 PM
Solo
Solo - avatar
+ 3
Your Code: NAME =str(input(enter the name:)) Print("hello",name) My Code: NAME = input("enter the name:") print("hello",NAME) Other Code: print("hello",input("enter the name:"))
4th Oct 2022, 8:51 PM
NinjaGamer
NinjaGamer - avatar
0
It must work. Maybe you've forgot to close the bracket.
5th Oct 2022, 11:14 PM
As Manjaka Josvah
As Manjaka Josvah - avatar
0
You forgot to close the bracket
6th Oct 2022, 8:39 PM
Christabel
Christabel - avatar