Checkpoint 9.6.1.
- [4,2,8,999,5,4,2,8,6,5]
- print alist not print blist
- [4,2,8,999,5]
- blist is changed, not alist.
- [4,2,8,6,5]
- Yes, alist was unchanged by the assignment statement. blist was a copy of the references in alist.
What is printed by the following statements?
alist = [4,2,8,6,5]
blist = alist * 2
blist[3] = 999
print(alist)