Computer Science, asked by gangbill8, 2 months ago

Give the syntax of range( ).

Answers

Answered by prasanth1267
1

Answer:

Mark this answer as brainlist and do follow me and thank all my answers

Explanation:

The first is to use a negative or down step value.

i.e., set the step argument of a range() to -1 . For example, if you want to display a number sequence like [5, 4, 3, 2, 1, 0] i.e., we want reverse iteration or backward iteration of for loop with range() function

Answered by sahoorudramadhab2007
0

Python range () Function

() FunctionThe range () function returns a sequence of numbers , starting from 0 by default , and increments by 1 , and stops before a specified number .

PLEASE MARK ME AS BRAINLEIST AND FOLLOW ME FOR ANY QUERIES AND THANKS MY ALL ANSWERS .

Similar questions