From Sagar Mondal, 3 Weeks ago, written in Plain Text.
This paste will expire in 5 Days.
Embed
  1. WAP in py to swap the values of the given index
  2.  
  3. L1=[11,22,33,44,55]
  4. L2=[12,24,36,48,60]
  5. n= len(L1)
  6. i=int(input())
  7. j=0
  8. while(j<=n):
  9.     if(j==1):
  10.         c=L1[i]
  11.         [i]=L2[i]
  12.         b[i]=c
  13.     j=j+1
  14. print(L1,L2)