Ending Up i need with understanding what im getting wrong


#1

pyg = 'ay'

original = raw_input('Enter a word:')

if len(original) > 0 and original.isalpha():
print original
else:
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?


#2

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


#3

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