circuitpython/tests/basics/list_clear.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
55 B
Python
Raw Permalink Normal View History

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