if条件语句

1.语法:

if 条件:

代码块(代码块必须缩进)

else:

代码块

2.嵌套

if:

   if:

   else if:

   else if:

   else:

else:

3.多条件嵌套

原文地址:https://www.cnblogs.com/z-j-h/p/11952811.html