Yes, since % represents the modulus which can be expressly stated in the math and numpy module.
This has been used many times in scripts, and it is sometimes safer to use the expressly stated version rather than relying on short form operators like %
angle = 135 math.fmod((450 - angle), 360.) 315.0 np.mod((450.0 - angle), 360.) 315.0