Home > OS >  To use the
To use the

Time:09-22

Print ("========health measurement procedures===========")
Print (" tip: height unit: m, the quality unit: kg ")
Mass=float (input (" please input your quality: "))
Height=float (input (" please input your rise "))
Age=float (input (" please enter your age: "))
Extremely constrained=float (input (" please enter your age: "))
Bmi=mass/(height * height)
G=mass * 10
IQ (age/extremely constrained) * 100=
Print (" your gravity is: "+ STR (G) + (" N"))
Print (" your IQ index is: "+ STR (IQ))
Print (" your BMI is: "+ STR (BMI))
If mass<(1/3) * height:
Print (" you are a little thin, attention body ")
If iq> 500:
Print (" you do a high IQ talents ")
If iq> 250 and iq<500:
Print (" sure is smart ")
If iq> 30 and iq<250:
Print (" iqs, thank you for using ")
If iq<30:
Print (" you are a silly lack ")
If bmi<18.5:
Print (" hello thin, attention body ")
If bmi>=18.5 and bmi<24.9:
Print (" normal range, please keep ")
If bmi>=24.9 and bmi<29.9:
Print (" you are overweight ")
If bmi>=29.9:
Print (" obesity ")

CodePudding user response:

Ok, play programming on the phone,,,
  • Related