Question: #Python Program that calculates the Blood, Alcohol #Content for individuals presented by Donnie Mitchell. #Ask the user for the gender input. gender = input(Enter your

#Python Program that calculates the Blood, Alcohol #Content for individuals presented by Donnie Mitchell.

#Ask the user for the gender input. gender = input("Enter your gender 1: for male and 2:for female?")

if gender == 1: g_entry = 0.68 else: g_entry = 0.55

#Set the values for the remaining input. t = input('Hours since first drink?')

#Input beverage in inccrement of 12.0, 5.0, 1.5 n = input(str("Ounces of beer,wine,or alcohol?: ")) w = input(str("Weight in pounds: ")) #Set b to equal to percentage of blood alcohol content, b=int(t * -0.015)+(2.84 * n) / (w * g_entry)

The equation in b is not working.

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!