我想同时以bmi和性别作为限制条件应该怎么编写?

img


想同时以bmi和性别作为输出的限制条件怎么办?求_(:з」∠)_


if BMI <= 18.5 and input("你的性别为") == a:
  print("正常")