Question: 1 Collect these three data points through user input ( ) boxes. Men within 6 2 inches and 8 0 inches tall and between 1

1 Collect these three data points through user input() boxes. Men within 62 inches and 80 inches tall and between 150 and 280lbs are needed for this study. Women between 59 and 71 inches and 100 and 180lbs are needed for this study. Create flow logic to determine whether an inputted patient is within the thresholds. If they are an outlier, print a message indicating they are not eligible and tell them which thresholds they did not meet. Create as many if/elif/else statements as you need to accomplish this task. For example, the table below indicates potential inputs and outputs:
Entered inputs
Output:
Sex Weight Height
Male 220,81, Participant is too tall
Male 149,62 Participant is too light
Female 170,58 Participant is too short
Female 140,68. Participant qualifies for the study
In order to analyze data, we need to handle the many possible ways that these data could be entered. For example, sex could be entered into a textbox as "female", "f", "Female", 0,1, "Male", "Man", "woman", or it could be mispelled. Use some combination of if/elif/else statements (including "or" and/or "and" criteria) and/or string formatting (e.g. converting case or examining only the first letter) to handle as many possibilities as you can think of to handle every type of input.
 1 Collect these three data points through user input() boxes. Men

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!