Tuple element access

We can access the elements of a tuple by zero-based index using square brackets:

>>> t[0]
'Norway'
>>> t[2]
3
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset