if条件语句基本结构: if条件: 内部代码块 else: 代码 f语句支持嵌套 if 1==1: if 2==2 print('内容') else: print('内容') else: print('内容') if 1==1: 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交