demo_ref_keyword_while.py:
x = 0 while x < 9: print(x) x = x + 1
➜ begtut>python demo_keyword_while.py
0
1
2
3
4
5
6
7
8