From 634bb2024da92edfa0c62b6c2df048f431dedacf Mon Sep 17 00:00:00 2001 From: Ilenia <26656284+ilenia-magoni@users.noreply.github.com> Date: Wed, 15 May 2024 10:18:13 +0200 Subject: [PATCH] chore(curriculum): remove `__locals` from Luhn algorithm (#54771) --- .../6565a536ba1f9f25bd30e88b.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/curriculum/challenges/english/07-scientific-computing-with-python/learn-how-to-work-with-numbers-and-strings-by-implementing-the-luhn-algorithm/6565a536ba1f9f25bd30e88b.md b/curriculum/challenges/english/07-scientific-computing-with-python/learn-how-to-work-with-numbers-and-strings-by-implementing-the-luhn-algorithm/6565a536ba1f9f25bd30e88b.md index 183a1375778..9a0bbb179ce 100644 --- a/curriculum/challenges/english/07-scientific-computing-with-python/learn-how-to-work-with-numbers-and-strings-by-implementing-the-luhn-algorithm/6565a536ba1f9f25bd30e88b.md +++ b/curriculum/challenges/english/07-scientific-computing-with-python/learn-how-to-work-with-numbers-and-strings-by-implementing-the-luhn-algorithm/6565a536ba1f9f25bd30e88b.md @@ -24,8 +24,7 @@ You should have `def main():` in your code. test: () => { assert(runPython(` import inspect - a = __locals.get("main") - inspect.isfunction(a) + inspect.isfunction(main) `)) } })