← Back to the lesson: Math Operations
Store and Calculate
The exercise
Create two variables a = 7 and b = 3.
Calculate their sum and store it in variable 'total'.
Display the total.
Starter code
# Create variables / Создайте переменные
a = 7
b = 3
# Calculate sum / Вычислите сумму
total =
# Display / Выведите
Write the code in the browser and run it — no installation needed.