a = [5,6,7,8,9]for i in a: if i >= 7: print(i-2)
1 5
5 6 7
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!