Skip to content

Add Level 0 problems - #170

Merged
guitarwhal merged 26 commits into
mainfrom
level0
May 26, 2026
Merged

guitarwhal merged 26 commits into
mainfrom
level0

Conversation

@guitarwhal

@guitarwhal guitarwhal commented May 26, 2026 •

Copy link
Copy Markdown
Collaborator

Add a new category: Level 0!

  • All the problems are step-by-step to help the user start easily
  • All the starter.py files are empty on purpose, to help the user learn how to define functions
  • New problems:
    • 1: Function Definition
    • 2: Function Parameters and Returns
    • 3: Basic Data Types (intro to bool, int, str, and float)
    • 4: Math Operators 1 (+, -, *, /, **)
    • 5: Math Operators 2 (%)
    • 6: String Concatenation 1 (str +, +=) (reworked html-tagged from str-1)
    • 7: String Concatenation 2 (str *)
    • 8: Formatted Strings (f-strings) (reworked greeting from str-1)
    • 9: Comparison Operators (>, <, etc.)
    • 10: Logical Operators (and, or, not)
    • 11: If, Elif, and Else Statements
  • Moved problems:
    • Calculate Absolute (stolen from Fundamentals, built-in function soft intro)
    • Is Even (stolen from Fundamentals, % example)

Other changes:

  • Fix 1 incorrect test case in List-2
  • validate_problems.py allows for either an empty starter.py OR a starter.py that defines a correctly named function

McDingus added 26 commits May 14, 2026 15:35
… a horizontal line to have it right next to the code block

@thomas-kol thomas-kol left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice, I've already reviewed all the new problems on Discord so I think it looks ready to go

@guitarwhal
guitarwhal merged commit 460fdd1 into main May 26, 2026
1 check passed
@guitarwhal
guitarwhal deleted the level0 branch May 26, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants