codeforces/667A_rain.py
def calculate(self):
        """ Main calcualtion function of the class """

        result = "NO"
        pi = 3.141592653589793238462
        vv = float(self.v) * 4 / (pi * self.d * self.d)
        if vv > self.e:
            result = "YES\n"
            result += str(float(self.h) / (vv - self.e))

        return str(result)
 Main calcualtion function of the class 
Main calcualtion function of the class
Main calcualtion function of the class
def calculate(self):
        result = "NO"
        pi = 3.141592653589793238462
        vv = float(self.v) * 4 / (pi * self.d * self.d)
        if vv > self.e:
            result = "YES\n"
            result += str(float(self.h) / (vv - self.e))
        return str(result)
def calculate ( self ) : result = "NO" pi = 3.141592653589793238462 vv = float ( self . v ) * 4 / ( pi * self . d * self . d ) if vv > self . e : result = "YES\n" result += str ( float ( self . h ) / ( vv - self . e ) ) return str ( result )
Main calcualtion function of the class
Main calcualtion function of the class
""" Main calcualtion function of the class """
self