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

        result = m = 1
        for i in range(len(self.nums)):
            if i != 0:
                m = m + 1 if self.nums[i] >= self.nums[i-1] else 1
                result = max(result, m)

        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 = m = 1
        for i in range(len(self.nums)):
            if i != 0:
                m = m + 1 if self.nums[i] >= self.nums[i-1] else 1
                result = max(result, m)
        return str(result)
def calculate ( self ) : result = m = 1 for i in range ( len ( self . nums ) ) : if i != 0 : m = m + 1 if self . nums [ i ] >= self . nums [ i - 1 ] else 1 result = max ( result , m ) return str ( result )
Main calcualtion function of the class
Main calcualtion function of the class
""" Main calcualtion function of the class """
self