lst1 = [5,10,15,20,25,50,20]
lst1[3] = 200
print(lst1)
[5, 10, 15, 200, 25, 50, 20]
mylist = [5,20,15,20,25,50,20]
rem_num = 20
for item in mylist:
if(item == rem_num):
mylist.remove(rem_num)
print(mylist)
[5, 15, 25, 50]
list1 = [10,20,30,40]
list2 = [100,200,300,400]
for x,y in zip(list1,list2[::-1]):
print(x,y)
10 400 20 300 30 200 40 100