Computer Science, asked by sougata098, 7 months ago

22 Which of the following python functions is used to iterate
over a sequence of numbers by specifying a numeric end value
within its parameters?
O A range
O Bleno
O C substringo
O Drandom()​

Answers

Answered by meenaengineer13
0

Answer:

bleno is correct answer

Answered by sushmaa1912
3

The python function used to iterate over a sequence is range.

Explanation:

  • The python function used to iterate over a sequence is range.
  • It is used as range(0, 10) : for this command, code will iterate numerical values from 0 to 9.
  • range() is a function and values within the bracket are called parameters or arguments.
  • Hence, the answer is an option (A)
  • The two numeric parameters that range() function takes involves the start of the iteration and one more than the end of the sequence length.

Example:

range(0, 10) will give iterations from 0 to 10 i.e. 1 less than the second parameter.

Similar questions