Loading...
Please wait while we prepare your content
Build the first utilities for ByteMart using starter variables only.
Print a welcome line for the ByteMart dashboard.
Use the starter variable below and print:
Welcome to ByteMart, Alice!
customer_name = "Alice"Given the current stock for one product, print the previous and next possible stock value.
stock = 179Expected output:
178
180ByteMart wants to estimate triangle display shelf area.
Use the variables and print the area:
base = 3
height = 5An order code has 2 digits. Split and print tens and ones.
order_code = 79Expected output:
7 9ByteMart needs to distribute total_items evenly into box_count boxes.
Print:
total_items = 50
box_count = 6A product costs price_dollars dollars and price_cents cents.
ByteMart sells quantity units.
Print:
price_dollars = 10
price_cents = 15
quantity = 10A two-digit promo code is entered in reverse by mistake. Swap the digits and print the corrected code.
promo_code = 79Expected output:
97