fo x in range reverse code example
Example 1: reversed(range
>>> type(range(3))
<class 'range'>
Example 2: printing number in decreasing order using For in range
range(5, -1, -1)
utilizar o sinal de menos na varial "fim" e "step"
>>> type(range(3))
<class 'range'>
range(5, -1, -1)
utilizar o sinal de menos na varial "fim" e "step"