0
0
No-Codeknowledge~10 mins

Subscription billing setup in No-Code - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to select the billing frequency for a subscription.

No-Code
billing_frequency = "[1]"
Drag options to blanks, or click blank then click option'
Ayearly
Bmonthly
Cweekly
Ddaily
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'daily' which is uncommon for subscriptions.
Selecting 'weekly' which is less typical.
2fill in blank
medium

Complete the code to set the payment method for subscription billing.

No-Code
payment_method = "[1]"
Drag options to blanks, or click blank then click option'
Acash
Bbarter
Ccheck
Dcredit_card
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'cash' which is not practical for automatic billing.
Selecting 'barter' which is not a payment method.
3fill in blank
hard

Fix the error in the code to correctly apply a discount to the subscription price.

No-Code
discounted_price = original_price [1] discount_rate
Drag options to blanks, or click blank then click option'
A+
B-
C*
D/
Attempts:
3 left
💡 Hint
Common Mistakes
Using '+' which increases the price.
Using '*' or '/' which changes the price incorrectly.
4fill in blank
hard

Fill both blanks to create a dictionary that maps subscription plans to their monthly prices.

No-Code
plans = {"Basic": [1], "Premium": [2]
Drag options to blanks, or click blank then click option'
A10
B20
C30
D40
Attempts:
3 left
💡 Hint
Common Mistakes
Assigning higher price to Basic plan.
Using the same price for both plans.
5fill in blank
hard

Fill all three blanks to create a subscription summary with plan name, price, and active status.

No-Code
subscription = {"plan": "[1]", "price": [2], "active": [3]
Drag options to blanks, or click blank then click option'
ABasic
B15
CTrue
DFalse
Attempts:
3 left
💡 Hint
Common Mistakes
Using a string instead of a number for price.
Setting active status to False when it should be True.