Mathematical Problems In Python