fork download
  1. def print_evens(lower=0, upper=10):
  2. i = lower-1
  3. while i < upper:
  4. i += 1
  5. if i%2 != 0:
  6. continue
  7. print i
  8.  
  9. if __name__ == "__main__":
  10. print_evens(3, 33)
Success #stdin #stdout 0.03s 6356KB
stdin
Standard input is empty
stdout
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32