x = (a/2 for a in [1, 2, 3])print(x)print(x.__iter__())print(x is x.__iter__())
Standard input is empty
<generator object <genexpr> at 0x2b00ae5a9408> <generator object <genexpr> at 0x2b00ae5a9408> True
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!