micropython/tests/basics/list_clear.py

5 wiersze
55 B
Python

# tests list.clear
x = [1, 2, 3, 4]
x.clear()
print(x)