Little help nedded!


#1

pyg = 'ay'

original = raw_input('Enter a word:')
word = original.lower()
first = original[0]
new_word = word + first + pyg
new_word = new_word[1:]
new_word[1:]
print new_word[1:]

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

now when i enter a name say himu instead of printing imuhay its printing muhay .also even python window is showing no error please help!!


#2

That line needs to follow the original input statement, and everything else follow it.

Not needed and may be removed with no effect.

After the third or fourth lesson this line is not needed.


#3

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