Checkpoint 9.10.1.
- [4,2,8,6,5]
- 5 is added to each item before the append is performed.
- [4,2,8,6,5,5]
- There are too many items in this list. Only 5 append operations are performed.
- [9,7,13,11,10]
- Yes, the for loop processes each item of the list. 5 is added before it is appended to blist.
- Error, you cannot concatenate inside an append.
- 5 is added to each item before the append operation is performed.
What is printed by the following statements?
alist = [4,2,8,6,5]
blist = [ ]
for item in alist:
blist.append(item+5)
print(blist)