Etudes/ENSIM/Functions.py

18 lines
151 B
Python
Raw Permalink Normal View History

2017-09-07 20:41:08 +00:00
#!/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()