2 ms·
Neither is it fun, readable or implies any sorts of knowledge of the language. - One-char function names. - You call a "list" a list. Shadows built-ins. At
by heavenlyblue 9y ago
Neither is it fun, readable or implies any sorts of knowledge of the language.
- One-char function names.
- You call a "list" a list. Shadows built-ins. At least use lst.
- if list==[] is non PEP8. Should be if not list.
- [list[0]] could be written as list[:1]