Complete the code to concatenate two lists.
result = [1, 2, 3] [1] [4, 5, 6]
The + operator joins two lists together.
Complete the code to repeat the list three times.
result = [0, 1] [1] 3
The * operator repeats the list multiple times.
Fix the error in the code to correctly concatenate two lists.
result = [1, 2, 3] [1] [4]
To concatenate lists, both sides must be lists. Here, 4 is not a list, so use + with a list on the right side.
Fill both blanks to create a list of three repetitions of [7, 8] concatenated with [9].
result = [7, 8] [1] 3 [2] [9]
First, repeat the list [7, 8] three times using *, then concatenate the result with [9] using +.
Fill all three blanks to create a list with the uppercase letters repeated twice and concatenated with ['Z'].
letters = ['a', 'b', 'c'] result = [[1] for l in letters] [2] 2 [3] ['Z']
l.lower() instead of l.upper().Use l.upper() to convert letters to uppercase, repeat the list twice with *, then concatenate with + ['Z'].
