Hi everyone i was just makeing myself a little spelling bee program and this problem came up that tells me the <string> needs to be left as an operand. I dont know how to fix this problem so any help you could give me would be much appreciated. Thank you
Code:(python)
[CODE=python]
print 'please spell correctly'
def loop():
bad=('lol','tee hee','lawl','ro fl','lmao','lmf ao')
response=raw_in put('please enter a laughter comment')
if bad in response:
print 'we dont use that language here'
else:
print 'i dont understand your gibberish'
loop ()[/CODE]
PS All my indentation is correct i just couldnt get this posting to indent my code block.
Code:(python)
[CODE=python]
print 'please spell correctly'
def loop():
bad=('lol','tee hee','lawl','ro fl','lmao','lmf ao')
response=raw_in put('please enter a laughter comment')
if bad in response:
print 'we dont use that language here'
else:
print 'i dont understand your gibberish'
loop ()[/CODE]
PS All my indentation is correct i just couldnt get this posting to indent my code block.
Comment