摘要:
while 循环 while <condition>: <statesments> for 循环 for <variable> in <sequence>: <indented block of code> continue 语句 遇到 continue 的时候,程序会返回到循环的最开始重新执行。 阅读全文
posted @ 2022-04-19 16:44
辛宣
阅读(48)
评论(0)
推荐(0)
摘要:
if <condition 1>: <statement 1> <statement 2> elif <condition 2>: <statements> else: <statements> 当条件1被满足时,执行 if 下面的语句,当条件1不满足的时候,转到 elif ,看它的条件2满不满足, 阅读全文
posted @ 2022-04-19 16:21
辛宣
阅读(29)
评论(0)
推荐(0)

浙公网安备 33010602011771号