if 语句if 语句表示如何发生什么样的条件,执行什么样的逻辑。
语法:
if 判断条件:
执行语句……
else:
执行语句……
示例:
# x = int(input("Please enter an integer:
2022-05-25