I am new to Python. I see : used in list indexes, especially when it is associated with function calls.
The Python 2.7 documentation assumes that lists.append translates to a[len(a):] = [x] . Why do I need the suffix len(a) with a colon?
I understand that : used to identify keys in a dictionary.
python
kuriouscoder Oct 25 '10 at 6:42 2010-10-25 06:42
source share