data = [2, 4, 3, 1, 5, 10, 9]
data.pop() print(data)
result: [2, 4, 3, 1, 5, 10]
the above is what i think makes sense
however,
data = [2,