Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Musbi8788/python-coding-challenges

 
 

Repository files navigation

Python Coding Challenges

This repository contains solutions to Python coding challenges from freeCodeCamp. These problems helped reinforce core Python concepts like loops, conditionals, functions, strings, and lists.

Challenges Covered

  • Arithmetic Formatter
  • Time Calculator
  • Budget App
  • Polygon Area Calculator
  • Probability Calculator

How to Run

python filename.py
Author
Musbi Jawo
🔗 GitHub | 📧 [email protected] | 📍 Banjul, The Gambia

csharp
Copy
Edit

#### 2. **Organize Your Files**
Create folders like this:

python-coding-challenges/
├── arithmetic-formatter/
│ └── main.py
├── time-calculator/
│ └── main.py
...

python
Copy
Edit

This will make it easier to maintain and scale the repo.

#### 3. **Add Comments or Docstrings**
For example:

```python
def arithmetic_arranger(problems, show_answers=False):
    """
    Arranges arithmetic problems vertically and side-by-side.

    Args:
        problems (list): List of arithmetic problem strings.
        show_answers (bool): Whether to show answers.

    Returns:
        str: Arranged string of arithmetic problems.
    """

About

freeCodeCamp's stand-alone Python coding challenges

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 51.8%
  • JavaScript 36.0%
  • CSS 6.9%
  • HTML 5.3%