The code below is from hackermeter.com and I'm not sure what to think of it. Is the variable i being passed implicitly to run() or does it expect more modification than just where it specifies?
import sys
def run():
# Code here!
for i in range(int(sys.stdin.readline())):
run()