# your code goes herea = [1,1] b = list(set(a))b.sort()b[-2]
Standard input is empty
Standard output is empty
Traceback (most recent call last): File "prog.py", line 6, in <module> IndexError: list index out of range
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!