What is the output of the following Python code snippet?
try:
[].pop()
except IndexError:
print('IndexError')
[].pop()
except IndexError:
print('IndexError')
43,842 multiple choice questions from every subject, newest first. Switch on practice mode to hide the answers and test yourself.