Python: Not being able to compare radians with pi values
After correcting the typo of the second if-statement, I was also not getting any output on the console, until I made the following changes.
if radians > 0 and radians < (math.pi/2):
print(f'The angle {radians}rad is in the I quadrant')
elif radians > (math.pi/2) and radians < math.pi:
print(f'The angle {radians}rad is in the II quadrant')
elif radians > math.pi and radians < (3*math.pi/2):
print(f'The angle {radians}rad is in the III quadrant')
elif radians > (3*math.pi/2) and radians < (2*math.pi):
print(f'The angle {radians}rad is in the IV quadrant')
else:
print(f"The angle {radians}rad is on one of the axis.")