General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Lawrence D’Oliveiro
Indently
comments
Comments by "Lawrence D’Oliveiro" (@lawrencedoliveiro9104) on "ALL 11 LIST METHODS IN PYTHON EXPLAINED" video.
It would compile OK, it just wouldn’t run. It works in Python versions 3.9 or later (just tested).
2
Actually “l.clear()” would be more equivalent to “l[:] = []”
2
Python has an entirely separate “array” module. And then there are NumPy arrays.
1