Complete the code to select the billing frequency for a subscription.
billing_frequency = "[1]"
The billing frequency is set to "yearly" to charge customers once per year.
Complete the code to set the payment method for subscription billing.
payment_method = "[1]"
Credit card is the most common and convenient payment method for subscription billing.
Fix the error in the code to correctly apply a discount to the subscription price.
discounted_price = original_price [1] discount_rateTo apply a discount, subtract the discount rate from the original price.
Fill both blanks to create a dictionary that maps subscription plans to their monthly prices.
plans = {"Basic": [1], "Premium": [2]The Basic plan costs 10 units per month, and the Premium plan costs 30 units per month.
Fill all three blanks to create a subscription summary with plan name, price, and active status.
subscription = {"plan": "[1]", "price": [2], "active": [3]The subscription is for the Basic plan, costs 15 units, and is currently active (True).