4/11 please help


#1

I don’t know what’s wrong with my code someone please assist me.

original = raw_input("how goes it")
if len(original) > 0:
print original 
else: print "empty"

I get the error “Oops! Did you accidentally delete the variable called original?”


#2

Mind your indentation. Especially inside an if/else statement.


#3

Try to type in your code like that (maybe it works):

original = raw_input(“how goes it”)
if len(original) > 0:
print original
else:
print “empty”


#4

delete the zero, then, delete the colon and greater than sign


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.