Python Math/status