Hi,

I wrote the following code and receiving error. What is problem with and how can I eradicate errors.

```
c=0
x=[]
y=[]
z=[]
while True:
o=int(input("enter menu:"))
if o==1:
x.append(input("enter name:"))
z.append(int(input("enter #:")))
y.append(int(input("enter score:")))
c+=1
elif o==2:
n=int(input("enter student number:"))
for i in range(0,c):
if n==z[i]:
x.pop([i])
y.pop([i])
z.pop([i])
elif o==3:
for i in range(0,c):
print("name:",x[i],"st number:",z[i],"score:",y[i])
elif o==4:
break
```

I received TypeError: ‘list’ object cannot be interpreted as an integer for x.pop([i])

then I changed that to x.pop(x[i]) and I received TypeError: ‘str’ object cannot be interpreted as an integer