0
0
No-Codeknowledge~30 mins

Capacity planning and pricing tiers in No-Code - Mini Project: Build & Apply

Choose your learning style9 modes available
Capacity Planning and Pricing Tiers
📖 Scenario: You are helping a small online service decide how to organize its pricing plans based on user capacity needs. The service wants to offer three pricing tiers: Basic, Standard, and Premium. Each tier supports a different number of users and has a set monthly price.This project will guide you through setting up the data for these tiers, configuring a user capacity threshold, applying logic to select the right tier based on user needs, and completing the pricing plan setup.
🎯 Goal: Build a simple capacity planning model that matches user needs to the correct pricing tier. You will create the data for pricing tiers, set a user capacity threshold, write the logic to pick the right tier, and finalize the pricing plan.
📋 What You'll Learn
Create a dictionary with pricing tiers and their user capacities and prices
Set a variable for the minimum number of users needed
Write logic to find the first pricing tier that meets or exceeds the user capacity
Complete the setup by assigning the selected tier to a final variable
💡 Why This Matters
🌍 Real World
Many online services use capacity planning and pricing tiers to offer plans that fit different customer needs and budgets.
💼 Career
Understanding how to organize and select pricing tiers is useful for product managers, business analysts, and developers working on subscription-based services.
Progress0 / 4 steps
1
Create the pricing tiers data
Create a dictionary called pricing_tiers with these exact entries: 'Basic' with capacity 10 and price 5, 'Standard' with capacity 50 and price 15, and 'Premium' with capacity 200 and price 50. Each entry should be a dictionary with keys 'capacity' and 'price'.
No-Code
Need a hint?

Use a dictionary where each key is a tier name and each value is another dictionary with 'capacity' and 'price'.

2
Set the user capacity threshold
Create a variable called user_need and set it to 30 to represent the number of users the service expects.
No-Code
Need a hint?

Just assign the number 30 to the variable user_need.

3
Find the suitable pricing tier
Write a for loop using variables tier and info to iterate over pricing_tiers.items(). Inside the loop, use an if statement to check if info['capacity'] is greater than or equal to user_need. When this condition is true, assign tier to a variable called selected_tier and use break to exit the loop.
No-Code
Need a hint?

Loop through pricing_tiers.items(), check capacity, assign selected_tier, and break.

4
Complete the pricing plan setup
Create a variable called final_plan and assign it a dictionary with keys 'tier' and 'price'. Set 'tier' to selected_tier and 'price' to the price from pricing_tiers[selected_tier]['price'].
No-Code
Need a hint?

Use the selected_tier to get the price and create the final_plan dictionary.