Help on move it back on


#1



Move it on back


please help it is showing with a traceback error


pyg = 'ay'

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


#2

here:

new_word = word + first + pyg

you define new_word, does it make sense to define new_word here? Why or why not?


#3

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