Q1 – 15 points) The average person blinks once every four seconds (or 15 times per minute). You are to write a Python code that is given the blinking frequency for a person and then calculates the number of times that person would blink in a day.
There should be two inputs to your code, the number of blinks observed and the time period during which those observations were made. For example, you might observe a person for 30 seconds and count 8 blinks during that period. The code should then extrapolate the blink rate over a full 24-hour period.
For example,
Enter the number of blinks observed: 8
Enter the duration of the observation (in seconds): 30
That extrapolates to 23040 blinks in a day.
Enter the number of blinks observed: 8
Enter the duration of the observation (in seconds): 30
That extrapolates to 23040 blinks in a day.