Computer Science, asked by arnav00796, 10 hours ago

Identify the correct syntax to print reverse counting from 20 to 10. * 1 point For i in range (10,20,1): For i in range (10,20,-1): for i in range (20,9,-1): for i in range (20,10-1):​

Answers

Answered by avdeelhoneysingh04
0

Use reversed(sequence) with sequence as the previous result to return the integers in sequence in reverse order.

a_range = range(1, 4)

reversed_range = reversed(a_range) Reverse the sequence's order.

for number in reversed_range:

print(number

Similar questions