Skip to content

Commit e902f9f

Browse files
authored
Update ex1.py
1 parent 31e1dc4 commit e902f9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

learntools/sql_advanced/ex1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def check(self, query):
7979
"%d rows, but you have %d rows." % (len(correct_answer), len(results)))
8080
# check 2: calculated values
8181
# correct result
82-
correct_list = correct_result.loc[correct_result["time_to_answer"].notna(), "time_to_answer"]
82+
correct_list = correct_answer.loc[correct_answer["time_to_answer"].notna(), "time_to_answer"]
8383
correct_number = correct_list.sum()/len(correct_list)
8484
# submitted value
8585
submitted_list = results.loc[results["time_to_answer"].notna(), "time_to_answer"]

0 commit comments

Comments
 (0)