Numbers

1. Creating formulas

Write the following mathematical formula in Python:

(1)result=6a38b24c+11
a = 2
b = 3
c = 2
# Your formula here:
result = 
  File "/tmp/ipykernel_2458/2132184662.py", line 2
    result =
             ^
SyntaxError: invalid syntax
assert result == 50

2. Floating point pitfalls

Show that 0.1 + 0.2 == 0.3

# Your solution here

# This won't work:
# assert 0.1 + 0.2 == 0.3