Why it is showing did you create a variable called word?


#1



pyg = 'ay'

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


#2

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