Quick Coding Tips

What would be the output of the following script:
x = [2, 3, 1]
x.pop(2)
y = sum(x)
print(y)

2 years ago | [YT] | 1