wiley_pastebin icon

1.3.2 Tuples

wiley_pastebin | PRO | 11/13/19 01:01:25 PM UTC | 0 ⭐ | 956 👁️ | Never ⏰ | []
Python |

150 B

|

None

|

0 👍

/

0 👎

> myTuple = (“apple”, “orange”, “pear”)
 
In the same way we access lists we can access tuples,
 
> print(myTuple[1])
 
> “orange”

Comments