Practice Test Geeks home

EmSAT Computer Science

In Python, what is the output of the following code?
x = [10, 20, 30, 40, 50]

print(x[-2])

Select your answer