# your code goes here valid = ["a","b","c","d"] valid = valid[:-1]print(valid)
Standard input is empty
['a', 'b', 'c']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!