Writing Efficient Python Code Tester