Hello All:
I'm new to Python. I see :
used in list index especially when it's associated with functional calls, for e.g., python 2.7 document suggests that lists.append
translates to a[len(a):] = [x]
. Why do one have to suffix len(a)
with a colon?
I understand that : is used to identify keys in dictionary. Thanks in advance for the help.