1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#!/usr/bin/python import time def func_c(): print "Function C" time.sleep(1) def func_b(): print "Function B" time.sleep(1) func_c() def func_a(): print "Function A" time.sleep(1) func_b() func_a()