📜  在 python 代码示例中访问元组项

📅  最后修改于: 2022-03-11 14:45:14.913000             🧑  作者: Mango

代码示例1
fruits = ("apple", "banana", "cherry")
print(fruits[1])