This should be in Python Statement : A lot of people drink and drive. The legal blood...

90.2K

Verified Solution

Question

Programming

This should be in Python

Statement :

A lot of people drink and drive. The legal blood alcohol levelis .08%. Blood alcohol level largely depends on an individual’s BMIand the percentage and amount of whatever it is they consumed. Thisprogram could potentially help users estimate how long to waitbefore driving, if they must drive.

Program Description

This program will:

Give the most recent statistics of drinking and driving inCalifornia. It will allow user to create an account. The programwill also save the users name, weight, age, and height. It willgive the user the option of adding an emergency contact. Programwill prompt user for what type of alcohol they are consuming aswell as the oz and percentage of alcohol in that drink. The programwill use that data to calculate how many drinks they can have tostay under the .08%. If the program estimates that they could beover the alcohol level, it will warn the user. The warning willinclude links to driving services such as Uber, Lyft, etc. And itwill give the user the option to generate a message to theiremergency contact.

Answer & Explanation Solved by verified expert
3.9 Ratings (438 Votes)
def problemfour try gender intinputWhat is your gender Enter 1 for Male 0 for Female weight intinputWhat is your weight drinks    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students