单行if else 语句: a = 200 b = 66 print("A") if a > b else print("B"). 运行实例. 您还可以在同一行上使用多个else 语句:. 实例. 单行if else 语句,有三个条件: a ...
確定! 回上一頁