tell me your weight plz?")
                  
                  
                  W=float(input("weight: "))
                  
                  
                  M=input("K for kilo_L for lbs: ")
                  
                  
                  if M.find("K" or "k"):
                  
                  
                      w=W
                  
                  
                      print("thanks")
                  
                  
                  elif M.find("L" or "l"):
                  
                  
                      w=(W/2.2046)
                  
                  
                      print(thanks)
                  
                  
                  H=float(input("height: "))
                  
                  
                  G=input("cm or m ")
                  
                  
                  if G.find("m" or "M"):
                  
                  
                      h=(H*100)
                  
                  
                      print("thanks")
                  
                  
                  elif G.find("cm" or "CM" or "Cm" or "cM"):
                  
                  
                      print("wait")
                  
                  
                      h=H/100
                  
                  
                      print("thanks")
                  
                  
                  else:
                  
                  
                      print("redo")
                  
                  
                  BMI=(w/h**2)*10000
                  
                  
                  P=input("do you want your bmi? ")
                  
                  
                  if P.find("yes"or"YES"or"Yes"or"y"):
                  
                  
                      print("this is your bmi-->"+ str(BMI))
                  
                  
                      if BMI<18.5:
                  
                  
                          print("you are underweight")
                  
                  
                      elif BMI<24.9:
                  
                  
                          print("you are normal")
                  
                  
                      elif BMI<29.9:
                  
                  
                          print("you are overweight")
                  
                  
                      elif BMI<34.9:
                  
                  
                          print("you are obse!")
                  
                  
                      elif BMI>35:
                  
                  
                          print("youa re extremely obse !!!")
                  
                  
                      print("bye")
                  
                  
                  else:
                  
                  
                      print("bye")
                  
                  
                  input("closing the app bye! ")
                  
                  
                
Use " " on line 12.. print("Thanks")
Oh I already fix it after an error
Обсуждают сегодня