Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

#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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Sham Navathe

4th Edition

0321122267, 978-0321122261

More Books

Students also viewed these Databases questions

Question

Write down the circumstances in which you led.

Answered: 1 week ago