In this , I want to change first element of second nested list but.
L1=list('| |')
L2=[L1,L1]
print L2
>>>[ [ '|', ' ', ' ', '|' ], [ '|', ' ', ' ', '|' ] ]
L2[1][0]='@'
print L2
>>>[ [ '@', ' ', ' ', '|' ], [ '@', ' ', ' ', '|' ] ]
Its Change both nested list!! Where I am going Wrong??