I’m learning Python by building small projects and documenting what I practice along the way. I’ve collected my first four projects in Python Arc.
They’re beginner-sized programs, but each gave me a different way to work with Python fundamentals:
- Employee Profile Formatter — I practiced joining and formatting strings, then slicing an employee code like DEV-2026-JD-001 into its parts.
- Area and Perimeter Calculator — It handles circles, triangles, and rectangles. For triangles, it checks the side lengths before calculating the area.
- Even or Odd Checker — I used modulo and number conversion to distinguish whole numbers from decimals, then check whether an integer is even or odd.
- Weekly Pay Calculator — This uses conditional branches to calculate regular pay, overtime, and tax. Each project has its own README with what it does, how to run it, and what I practiced. They use Python’s built-in features, so there are no extra packages to install.
I’m keeping Python Arc as a record of my progress: one small program, one new concept at a time.
If you’re learning Python too, what concept would you suggest for my fifth project?
Repo: Python-Arc
Top comments (2)
Israq, this is a solid way to learn — four small programs, and each one practices a different fundamental instead of rehashing the same loop four times. The triangle check in the area calculator is the one that stood out to me: validating the input before doing the math is a habit most beginners skip, and it shows up again in the weekly pay calculator with overtime and tax, where the branches actually matter. The Employee Profile Formatter with string slicing is a nice warm-up too. For your fifth project, I'd suggest a small expense tracker that reads and writes a file — it would force you to combine everything so far: strings, conditionals, file I/O and a loop over a list of records, and it ends with something you can actually use. What made you pick the triangle check as the validation to include?
Thanks a lot, my friend. I will certainly code a expense tracker as fast as possible. As for the triangle check, i thought there are many types of triangles, so it had to be a legit one.