circuitpython/tests/basics/list_reverse.py

6 lines
69 B
Python

a = []
for i in range(100):
a.append(i)
a.reverse()
print(a)