Float phase() is a float class method which works on float values and works differently for both positive and negative values.
Parameter: float value which is to be checked
Return: return 0 for positive values otherwise return pi(3.141592653589793)
phase value of a : 3.141592653589793 phase value of b : 3.141592653589793 phase value of c : 0
phase value of a : 3.141592653589793 phase value of b : 0 phase value of c : 3.141592653589793
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.