10 lines
125 B
Python
10 lines
125 B
Python
s = {1}
|
|
print(s.pop())
|
|
try:
|
|
print(s.pop(), "!!!")
|
|
except KeyError:
|
|
pass
|
|
else:
|
|
print("Failed to raise KeyError")
|
|
|