<qiyuangong>122_Best_Time_to_Buy_and_Sell_Stock_II_1.py
def maxProfit( prices):
    return sum([y - x for x, y in zip(prices[0:-1], prices[1:]) if x < y])
def sample_funcname ( var_0 ) :
    return sum ( [ var_2 - var_3 for var_3 , var_2 in zip ( var_0 [ 0 : - 1 ] , var_0 [ 1 : ] ) if var_3 < var_2 ] )
