Access Tuple Items || Python Tutorial For Beginners

preview_player
Показать описание
Access Tuple Items
You can access tuple items by referring to the index number, inside square brackets:

Example
Print the second item in the tuple:

thistuple = ("apple", "banana", "cherry")
print(thistuple[1])
Рекомендации по теме
visit shbcf.ru