小肥羊要进步

2020年5月31日

Python之for循环

摘要: 1.遍历字符串中每个字符的for循环 name="Ted"for character in name: print(character)2. for遍历列表元素 shows=["GOT", "You" "Know" ]for show in shows: print(show)3.for遍历元组中的 阅读全文

posted @ 2020-05-31 23:22 小肥羊要进步 阅读(340) 评论(0) 推荐(0) 编辑

导航