i Made a shell script like this
name = raw_input ("Please enter your name: ") if name == Harry: print "Welcome" else: print "you smell"
What i want it to do is ask for my name and if i dont enter Harry it says "YOU Smell"
But when i run it this comes up
Traceback (most recent call last):
File "H:\Scripts\test.py", line 4, in <module>
if name == Harry:
NameError: name 'Harry' is not defined
can anybody tell me where i am going wrong .
STAY COOL AND DONT GET STRESSED!:cool: