0
Why i got this error in Python!!
I run this code : def concating (name) : return "Hello " + name str = input("Enter your name :") print(concating(str)) I got this error : name 'sara' is not defined What is the problem?
4 Answers
+ 3
you didnt define the name.
name = "sara"
thats the solution
0
How do i do this?
0
check this out.
i made a comment
https://code.sololearn.com/cVNUD9hSlNH9/?ref=app
0
Thank you!