[ create a new paste ] login | about

Link: http://codepad.org/lif5Fb8J    [ raw code | output | fork ]

Saumya_Agnihotri - Python, pasted on May 10:
1
2
3
4
5
6
7
8
9
10
11
12
13
s = input()

def remove(s,i):
    print("removal of",s[i])
    str = s.replace(s[i],"")


    return str

for i in range(len(s)):
    print(i)
    print(remove(s,i))
    print("________________________")


Output:
1
2
3
4
Traceback (most recent call last):
  Line 1, in <module>
    s = input()
EOFError


Create a new paste based on this one


Comments: