Help on move it on back


#1



move it on back


Traceback (most recent call last):
File "python", line 9, in
TypeError: coercing to Unicode: need string or buffer, builtin_function_or_method found


pyg = 'ay'

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


#2

why do you have 3 times raw_input? You only need one, to get the user input, then the rest of your program is to translate the string into pyglatin


#3

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