Computer Science, asked by ritugaur8384, 5 hours ago

Which function is used with for loop in Python to generate a sequence of numbers in the form of a list.​

Answers

Answered by nnarendraveer
1

Answer:

Explanation:

range() function

We can use the range() function in for loops to iterate through a sequence of numbers. It can be combined with the len() function to iterate through a sequence using indexing. Here is an example.

Similar questions