Post

Coding Computing Coach
Coding Computing Coach@CodingComputing·
@Python_Dv Answer: C Solution: `a` and `b` are lists with values [1,2,3] and [4,5] respectively. a.extend(b) applies the list method `extend` to `a`, with `b` as argument. What does this method do? It changes the list `a`, by appending to it all items from `b`. Thus, +
English
0
0
0
343
Coding Computing Coach
Coding Computing Coach@CodingComputing·
@Python_Dv The list `a` changes to [1,2,3,4,5] As a result, len(a) is now 5. That is what gets printed.
English
0
0
0
34
Paylaş