The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 314 Weeks Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
I need this programmed in python with an attachment .py
Â
----------------------------------------------------------------------------------------------
Â
Question 1) a well documented program that asks the user to enter a vehicle's curb weight. The program should display a message indicating whether the vehicle's size is mini, small, midsize, or large.
Make sure the user input is greater than 2,000.
Question 2) Sam is a business owner, he limits the number of hours that an employee can work in a month to 60 hours. If an employee works more than 60 hours, he/she will not get paid for the extra hours worked. Write a well documented program that accepts the number of worked hours as input, and displays the amount paid as an output.Â
Pay rate= $25/hour.
Question 3)Â Modify the code for question2Â from HW2Â to:Â
********* Start up code for question 2Â HW2: **********
# HW2 Question 2 code
# Final grade program
assign1 = float (input('Enter Assignment 1 grade: '))
assign2 = float (input('Enter Assignment 2 grade: '))
Exam1 = float (input('Enter Exam 1 grade: '))
Exam2 = float (input('Enter Exam 2 grade: '))
AssignGrade = (assign1 + assign2) /2
ExamGrade = (Exam1 + Exam2) /2
Final_Grade = .4 * AssignGrade + .6 * ExamGrade
print('Final grade is' , format(Final_Grade, '.2f'))
Â
-
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly