Ending Up i need with understanding what im getting wrong


pyg = 'ay'

original = raw_input('Enter a word:')

if len(original) > 0 and original.isalpha():
print original
print 'empty'
word = original.lower()
first = word[0]
new_word = word + first + pyg
new_word = new_word[1:]
print original,first,word,new_word
new_word = word + first + pyg

Do i switch something or add something?


Never mind im good now i found out what my problem was


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