Need help


#1

pyg = 'ay'

original = raw_input('Enter a word:')

if len(original) > 0 and original.isalpha():
print original

word=original.lower()
first=word[0]
new_word = word+first+pyg
print new_word[1:len(new_word)]

else:
print 'empty'


#2

Not quite as instructed,but close. There may be a problem with the indentation but we cannot tell from this post.


#5

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