Float positive() is a float class method which checks whether the float value is positive.
Parameter: float value which is to be checked
Return: Boolean value return true – if value is positive or return false – if value is negative
a is positive : false b is positive : false c is positive : true
a is positive : false b is positive : true c is positive : false
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.