A rectangular to phasor converter python script
Takes three inputs -initial form, 'r' or 'p' then either real and imaginary components or modulus and angle
Doesn't accept negative modulus
Perfect for calculating impedances and phasors in electrical circuits :)