Dorong Python

class List(list):
    def push(self, x):
        self.append(x)
        
s = List()
s.push(10)
s.push(20)
>>> s
[10, 20]

#or you can direct do:
a = []
a.append(10)
>>> a
[10]
Vast Vendace