Python Atomic Operations Definition For Math