Relearning Math by Python