PythonExtra/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-04 00:22:53 +01:00
# tests list.clear
x = [1, 2, 3, 4]
x.clear()
print(x)