👤

nums = [30, 10, 30, 14, 10, 3, 9, 7]
print(nums)

nums.extend([24, 3, 21, 19])
print(nums)
What is output by the second print statement in the code above?

Group of answer choices

[30, 10, 30, 14, 10, 3, 9, 7, 24, 3, 21, 19]

[30, 10, 30, 14, 10, 3, 9, 7]

[24, 3, 21, 19]

[24, 3, 21, 19, 30, 10, 30, 14, 10, 3, 9, 7, 24, 3, 21, 19]

Answer :

The range function must have two parameters? False. ~Range has three possible sets of parameters: range(stop) - Returns 0 to the given stop value, counts by one.

Go Teaching: Other Questions