Bootstrap

Python元组遍历

定义一个元组
tuple = (“zhangsanfeng”,118,“男”,“武当”)
遍历元组,获取里面的值
for obj in tuple:
print(obj)

;