0
How to reassign nested list elements ? Can anyone help me ? [5,6] in this now i would like to change 5 and keep 6 in my newlist
mylist1=[1,2,3,4,[5,6]] print(mylist1)
2 Answers
+ 2
mylist1[0][0] = "new value"
0
thanks for your answer
mylist1=[1,2,3,4,[5,6]] print(mylist1)