You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the end of the page 43 this is mentioned :
(unless you need methods such as index and count, which tuples don’t have)
But I created a tuple and I could call those 2 methods ( i have Python 3.6):
>>> mynumtuple = (10,20,30)
>>> len(mynumtuple)
3
>>> mynumtuple.index(30)
2
The text was updated successfully, but these errors were encountered:
At the end of the page 43 this is mentioned :
(unless you need methods such as index and count, which tuples don’t have)
But I created a tuple and I could call those 2 methods ( i have Python 3.6):
>>> mynumtuple = (10,20,30)
>>> len(mynumtuple)
3
>>> mynumtuple.index(30)
2
The text was updated successfully, but these errors were encountered: