代码示例:(标识:python_tuple_one_item)
python_tuple_one_item.py
thistuple = ("apple",)
print(type(thistuple))

#NOT a tuple
thistuple = ("apple")
print(type(thistuple))
运行结果: