Question 1 of 45
Easy
Compute a value
Daily revenue
A store tracks how many units it sold today and the price of each unit.
The variables units_sold and price_per_unit are already defined for you.
Create a variable named revenue that holds the total money earned today (units sold multiplied by the price per unit).
Already defined for you
Model answer
Why it works
You have used your free questions
Guests can try 5 easy, 2 medium and 1 hard question. A free account unlocks every question and saves your progress.
Press Run to see what your code prints, or Submit to check it against every test.
Test results appear here after you run or submit.