circuitpython/tests/basics/list_clear.py

5 lines
55 B
Python
Raw Normal View History

2014-01-03 18:22:53 -05:00
# tests list.clear
x = [1, 2, 3, 4]
x.clear()
print(x)