摘要:
while 循环 while <condition>: <statesments> for 循环 for <variable> in <sequence>: <indented block of code> continue 语句 遇到 continue 的时候,程序会返回到循环的最开始重新执行。 阅读全文
摘要:
字典 Python 使用 {} 或者 dict() 来创建一个空的字典: 插入键值 a{} a["one"] = "this is number 1" a["two"] = "this is number 2" a {'one': 'this is number 1', 'two': 'this i 阅读全文