Use yapf formatter with these settings in VSCode, for both the User Settings and the Workspace Settings.
"python.formatting.yapfArgs": ["--style", "{based_on_style: chromium, indent_width: 2}"]
Solve the problem within the quiz file and keep the main function name the same, then simply run the test checker for each quiz using this command: python3 test_quiz[n].py
, just change the n
to the number of the quiz.
Quiz 8 and 9 don't have tests, so you can freely name the methods and the variables. They will be evaluated manually.
Topic: If condition, Functions.
Goal: Fix.
Topic: If condition, Functions, Arithmetic operators.
Goal: Fix.
Topic: If condition, Functions, Arithmetic operators, Lists, For Loop.
Goal: Fix.
Topic: If condition, Functions, Arithmetic operators, Lists, While Loop.
Goal: Fix.
Topic: Strings, Lists, Functions, For Loop.
Goal: Write.
Topic: Numbers, Functions, If condition, Lists.
Goal: Write.
Topic: Dictionaries, Functions, If condition, For Loop, Lists.
Goal: Write.
Topic: Classes and Objects, If condition.
Goal: Write.
Topic: Classes and Objects, If condition, Modules.
Goal: Write.