A single line containing the complex number z. Note: complex() function can be used in python to convert the input as a complex number.
Output two lines:
The first line should contain the value of r.
The second line should contain the value of A.
Set A is the strict superset of the set([1,2,3,4,5]) but not of the set([100,11,12]) because 100 is not in set A. Hence, the output is False.
1 2 2.23606797749979 1.1071487177940904
1 2 3 4 from cmath import phase z = complex(input()) print(abs(z)) print(phase(z))