"Oops, try again. Did you create a variable called word?"


#1



8.word up

"Oops, try again. Did you create a variable called word?"

can u tell me where is my fault ?

pyg = 'ay'

original = raw_input('Enter a word:')

if len(original) > 0 and original.isalpha():
 print original
 word = original.lower()
 print  word
 first = word[0]
 print  first
else:
 print 'empty'


#2

after refresh your browser try it. :slight_smile:


#3

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