获取元组的长度

  1. thistuple = ("apple", "banana", "cherry")
  2. print(len(thistuple))