We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Curse

An enemy's weapons can be cursed so that they don't deal as much damage.

Assignment

Complete the curse function. It accepts a weapon_damage parameter and returns two values:

A greater curse is more powerful than a lesser curse, so it reduces the damage more.

Tip

You can multiply a number by a decimal to get a percentage of a number. For example:

30% of 50 is 50 * 0.3

Ignore the float function in the print statements. We will introduce floats later.