How can you produce the following list with range() in Python?
[9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
You can do printing of reverse numbers with range() BIF Like ,
for number in range ( 10 , 0 , -1 ) :
print ( number )
Output will be [10,9,8,7,6,5,4,3,2,1]
range() - range ( start , end , increment/decrement ) where start is inclusive , end is exclusive and increment can be any numbers and behaves like step