micropython/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 Normal View History

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