# coding=utf-8
import time
def outer(fun):
def inner():
start = time.time()
fun()
runtime = time.time() - start
print runtime
return inner
@outer
def a_func():
for i in range(1000000):
pass
print 'the teacher int is gone'
a_func()