a = 5c = 0 while a>=0: c += 1 a -= 1 print(a, c)
8
-1 6
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!