>>> from us_complex import polar_a_complex >>> polar_a_complex(7, 0) (7+0j) >>> polar_a_complex(0, 0.8) 0j >>> c = polar_a_complex(5, 1) >>> print('{:.4f}, {:.4f}'.format(c.real, c.imag)) 2.7015, 4.2074 --fi-enunciat >>> c = polar_a_complex(1, 4) >>> print('{:.4f}, {:.4f}'.format(c.real, c.imag)) -0.6536, -0.7568 >>> c = polar_a_complex(2, 3.1415926) >>> print('{:.4f}, {:.4f}'.format(c.real, c.imag)) -2.0000, 0.0000 >>> c = polar_a_complex(8, -1) >>> print('{:.4f}, {:.4f}'.format(c.real, c.imag)) 4.3224, -6.7318 >>> c = polar_a_complex(10, 4.2) >>> print('{:.4f}, {:.4f}'.format(c.real, c.imag)) -4.9026, -8.7158