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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started