151k views
19 votes
D

Question 1
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?

User Wykk
by
5.1k points

1 Answer

5 votes

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.

Step-by-step explanation:

User Matt Bond
by
5.5k points