Question: # Initialize variablesbasic _ contract = 1 0 . 5 0 friends _ family = 2 . 0 0 voicemail = 3 . 2 0

# Initialize variablesbasic_contract =10.50friends_family =2.00voicemail =3.20unlimited_minutes =5.70total_add_ons =0# Ask user for inputff_input = input("Do you wish to include Friends and Family? (y/n)")vm_input = input("Do you wish to include Voicemail? (y/n)")um_input = input("Do you wish to include Unlimited Minutes? (y/n)")# Process user inputif ff_input =='y': total_add_ons += friends_familyif vm_input =='y': total_add_ons += voicemailif um_input =='y': total_add_ons += unlimited_minutes# Apply discount if necessaryif total_add_ons >1: total_add_ons *=0.90# Calculate total billtotal_bill = basic_contract + total_add_ons# Print total billprint("Your total bill is: ", total_bill) Make flowgorithm

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!