209k views
2 votes
Which range function will print all odd numbers between 11 and 33?

Group of answer choices

range (11, 34)

range (11, 34, 2)

range (11, 33, 2)

range (11, 33)

1 Answer

7 votes

Answer:

Step-by-step explanation:

The range function that will print all odd numbers between 11 and 33 is:

This will start at 11, end at 33 (inclusive), and increment by 2 each time, printing all odd numbers in that range.

Which range function will print all odd numbers between 11 and 33? Group of answer-example-1