def z(): lst = [] print(id(lst)) return lst a = z()b = z() z()z()z() == z()
Standard input is empty
22868753486152 22868753486088 22868753444232 22868753444232 22868753444232 22868752945416
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!