Computer Science, asked by gangwarmukeshbabu7, 11 months ago

which function is used to check the range in the loop​

Answers

Answered by AskewTronics
14

range() function is the correct answer for the above question.

Explanation:

  • The range function is used in for loop in the python programming language. It is used to check the range of for loop. Just for example :

for x in range(5):

   print("Hello World")

  • The above code will print the number from 1 to 5. It is because the range function takes the range 5 and starts from 1. But the "for x in range(2,5)", Runs up to 5 value of x and starts for the 2 value of x.
  • The question statement asked about the function which is used to check the range value for the for loop.

Learn More:

For loop in python : https://brainly.in/question/14673533

Answered by suhana642
6

Explanation:

Range Function is the correct answer.

Make me a brainlist please please please

Similar questions