For anyone who wants to create a new csv file for the result, just add ```{Python} sys.stdout = open('Result.csv', 'a') ``` in the beginning of the code.