Please check my code so far, I even cannot ask for an entry


#1

Here is my code so far, what are the errors?

raw_input ("write a word in English please! >> ")
word = raw_input('Prompt')
s = len(word)
if s > 0:
return True
else:
print "You did not entered a valid word, try again please!"


#2

return only make sense inside function.there is no function in your code.
so use print instead of return

and you dont need raw_input at the first line.simply you can use print.

and make sure you've proper indentation


#3

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