Break it down


#1

im not getting the output
is remove() function not allowed in python2?
here is my code .somebody please help

def fun():
word=raw_input('enter the word [edit]').lower()
if isinstance(word,string):
l1=word[0]
word.remove(word[0])
word.append(l1)
word.append('ay')
print word
else:
fun()
fun()


#2

Is this question relating to the exercise or just you having fun? Please keep your questions on topic with the actual exercise.


#3

This may help:

http://www.tutorialspoint.com/python/list_remove.htm