Ukázka použití jednoduchých cyklů
#!/usr/bin/python a = b = 1 while a < 100: print a a = a + b b = a - b