Question: python, I just need to know how to add a second 0 so the output reads 300.00 and not just 300.0 Codio Project 1 Draft

python, I just need to know how to add a second 0 so the output reads 300.00 and not just 300.0
Codio Project 1 Draft Rental x + O A https://codio.com/rghent/project-1-draft-rental-car-billing ---standard:5df142b6b5b38 B0% .. C Code Project te Edit Find View Tools Education Help Run Current - Google - RT 0 Configure.... Calculate Ch... X ErentalPeriod = ? + OR Prompt --> "Number of Weeks Rented: rental Period = ? Calculate Charges - Part 1 Tental Code = 0 rentalPeriod = 5 CUSTOMER DATA CHECK 1 #ADD CODE HERE TO PRINT: #rental Code #rentalPeriod if rental Code == "B" or rental Code == "D": rentalPeriod = int(input("Number of Days Rented: ")) else: rentalPeriod = int(input("Number of weeks Rented: ")) 26 27 - 28 29 Calculate Charges 1 print (rental Code) print (rentalPeriod) Add code to print the value of baseCharge variable. 32 33 34 Cherkit SHOW OUTPUT budgetCharge = 48.00 dailyCharge - 66 , H weeklyCharge = 190.00 #Calculation Part 1 35 36 37 38 LAST HUN 1/23/2020 244 47 FM Check 1 failed 40. ##Set the base charge for the rental type as the variable baseCharge. #The base charge is the rental period the appropriate rate: if rentalCode == "B": baseCharge = rentalPeriod * 40.00 elitre elif rental Code == "D": baseCharge = rentalPeriod + 60.00 else: baseCharge = rental Period - 190.00 print (baseCharge) (B) udget, (D) aily Number of Days Re 42- 43 45 300.00 Python 968 (45:17) 2:46 PM * Type here to search
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
