micropython/tests/basics/list_reverse.py

6 lines
69 B
Python
Raw Normal View History

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