运维网's Archiver
论坛
›
Python
› python中循环取元组中的数据
cf2000
发表于 2015-12-15 11:15:35
python中循环取元组中的数据
python中循环取元组中的数据:
yuanzu_s = ("one", "two", "three", "four",);
print(yuanzu_s);
print(len(yuanzu_s));
print(len(yuanzu_s));
i = 0;
for i in yuanzu_s:
print(i);
页:
[1]
查看完整版本:
python中循环取元组中的数据