#testmod.py
x = 0
def f1():
x = 10
def f2():
global x
x += 1
def f3():
import testmod
testmod.x += 1
def f4():
import sys
sys.modules["testmod"].x += 1
#runmod.py
import testmod as t
t.f1();t.f2();t.f3();t.f4()
print(t.x)