(銜接上個博客)循環+python中字符串類型

目錄 2.3.3 for 循環 2.3.4 break和continue 1 python字符串類型 1.2 python字符串的索引(index) 1.3 python 字符串切片 2.3.3 for 循環 在Python中 for循環可以遍歷任何序列的項目,如一個列表或者一個字符串等。 for循環的格式 for 臨時變量 in  列表或字符串 循環滿足條件時執行的代碼 或者: for 臨時變量
相關文章
相關標籤/搜索