Etudes/ENSIM/Functions.py

18 lines
151 B
Python

#!/usr/bin/python
n = 0
def setup():
global n
n = 100
def loop():
global n
n = n + 1
if((n % 2) == 0):
print(n)
setup()
while True:
loop()