Python 基本语法
# 条件语句 # if if condition: statement # if - else if condition: statement1 else: statement2 # if - eles if - else if condition1: statement1 elif condition2: statement2 else: statement3 # 循环语句 # while while condition: statement # for for 循环无法定义循环条件,只能从 序列 中取出数据处理 for i in sequence: statement #...
more...