Section 1 - Instruction

Let's quickly recap what we did last time.

Engagement Message

Shall we dive in?

Section 2 - Instruction

So last time, we saw how to add values stored in variables, like:

total_score = score1 + score2

Engagement Message

If score1 was 50 and score2 was 25, what value ended up in total_score?

Section 3 - Instruction

Great! Besides adding (+), Python can also do subtraction using the minus sign (-).

If you have:

Engagement Message

What value do you think remaining_coins holds?

Section 4 - Instruction

Python uses the asterisk (*) for multiplication. It works just like you'd expect.

Example:

Engagement Message

How many total_apples would there be?

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal