File: class/Workbook/Examples/Lecture4/whileeven.txt

x = 10
while x:
    x = x-1
    if x % 2 != 0: continue   # odd?--skip
    print x,



[Home page] Books Code Blog Python Author Train Find ©M.Lutz