Create ex3.py

Exercise 3: Numbers and Math