Why Python code run faster in a function · HackerTrans