python 的if语句

不练 就生疏了,

test="Ab"
if test=="A":
  print("A")
elif test=='B':
  print("B")
else:
  print("false")

posted @ 2022-04-18 18:21  等待1248  阅读(33)  评论(0)    收藏  举报