I am not sure if this piece of code is right:
pyg = "ay"
original = raw_input('SABYASACHI')
new_word = word[1:10] + fifth + pyg
if len(original) > 0 and original.isalpha():
word = original.lower()
fifth = word 
I'm getting this response:
Traceback (most recent call last):
File "python", line 3, in
NameError: name 'fifth' is not defined
But I have defined fifth as word . Can't understand this. Somebody please help me with this.