1. Creating formulas

Write the following mathematical formula in Python:

\begin{align} result = 6a^3 - \frac{8b^2 }{4c} + 11 \end{align}
In [ ]:
a = 2
b = 3
c = 2
In [ ]:
# Your formula here:
result = 
In [ ]:
assert result == 50

2. Floating point pitfalls

Show that 0.1 + 0.2 == 0.3

In [4]:
# Your solution here

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