def SWAP(self, *operands):
        """Exchange 1st and 2nd stack items"""
        a = operands[0]
        b = operands[-1]
        return (b,) + operands[1:-1] + (a,)
def SWAP(self, *operands):
        
        a = operands[0]
        b = operands[-1]
        return (b,) + operands[1:-1] + (a,)
def SWAP ( self , * operands ) : a = operands [ 0 ] b = operands [ - 1 ] return ( b , ) + operands [ 1 : - 1 ] + ( a , )
Exchange 1st and 2nd stack items
Exchange 1st and 2nd stack items