
class Addition:
    def additionLast(self):
        x = [(10,20,40),(40,50,60),(70,80,90)]
        print("Input: ",x)
        print("output:",[t[:-1] + (100,) for t in x])

if __name__=="__main__":
    test = Addition()
    test.additionLast()
69e7b0585b628b596edef1356eb79bb19655b26a
<mask token>

class Addition:
    <mask token>


<mask token>

class Addition:

    def additionLast(self):
        x = [(10, 20, 40), (40, 50, 60), (70, 80, 90)]
        print('Input: ', x)
        print('output:', [(t[:-1] + (100,)) for t in x])


<mask token>

class Addition:

    def additionLast(self):
        x = [(10, 20, 40), (40, 50, 60), (70, 80, 90)]
        print('Input: ', x)
        print('output:', [(t[:-1] + (100,)) for t in x])


if __name__ == '__main__':
    test = Addition()
    test.additionLast()


class Addition:
    def additionLast(self):
        x = [(10,20,40),(40,50,60),(70,80,90)]
        print("Input: ",x)
        print("output:",[t[:-1] + (100,) for t in x])

if __name__=="__main__":
    test = Addition()
    test.additionLast()