He did the math

Complete the code for the math operations by writing the equation to the right of the variable (don't just put the result).

Example:

five_times_five = 5 * 5

He did the monster math

Test Cases

test the math - Run Test

def test_the_math():
    assert one_plus_one == 2
    assert ten_minus_three == 7
    assert four_times_five == 20
    assert nine_divided_by_three == 3
    assert five_mod_two == 1
    assert three_to_fifth_power == 243

Solution 1

# Basic Math Operations
one_plus_one = 1 + 1
ten_minus_three = 10 - 3
four_times_five = 4 * 5
nine_divided_by_three = 9 / 3

# Modulus (% operator) 
# This gets the remainder from a division problem
five_mod_two = 5 % 2

# Exponent (** operator)
three_to_fifth_power = 3 ** 5
# Basic Math Operations one_plus_one = ? ten_minus_three = ? four_times_five = ? nine_divided_by_three = ? # Modulus (% operator) # This gets the remainder from a division problem five_mod_two = ? # Exponent (** operator) three_to_fifth_power = ?