主页
Python
Python 元组
demo_tuple_one_item
运行 ❯
×
更改方向
保存代码
更改主题
thistuple = ("apple",) print(type(thistuple)) #NOT a tuple thistuple = ("apple") print(type(thistuple))
<class 'tuple'>
<class 'str'>