def f(i):
    """A fake task - in this case let just open a file and write a number to it"""
    f = open('%d.txt' % i, 'w')
    for k in range(1000000):
        f.write('%d * 10 = %d\n' % (i, 10 * i))
    f.close()
