circuitpython/tests/basics/list_reverse.py

6 lines
69 B
Python
Raw Permalink Normal View History

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