Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/erickgbr/python-cs50w


https://github.com/erickgbr/python-cs50w

Last synced: 10 days ago
JSON representation

Awesome Lists containing this project

README

        

# Basic Python Exercises - CS50W

This repository contains the basic Python exercises from the CS50W (Web Programming with Python and JavaScript) course by Harvard. Each folder includes a specific exercise, along with its description and corresponding code.

## Repository Structure

/python-cs50w │ ├── classes.py ├── conditions.py ├── decorators.py ├── dictionaries.py ├── exceptions.py ├── lambda.py ├── lists.py ├── loops.py ├── name.py ├── sequences.py ├── sets.py └── squares.py

## Exercise Descriptions

- **classes.py:** Practice with classes in Python.
- **conditions.py:** Conditional statements and control flow.
- **decorators.py:** Understanding and using decorators.
- **dictionaries.py:** Working with dictionaries in Python.
- **exceptions.py:** Handling exceptions and errors.
- **lambda.py:** How to use lambda functions.
- **lists.py:** Lists practice.
- **loops.py:** Practice with loops and dictionaries.
- **name.py:** First exercises for CS50.
- **sequences.py:** Practice with sequences.
- **sets.py:** Practice with loops and sets.
- **squares.py:** Additional exercises related to squares.

## Requirements

Make sure you have the latest version of Python installed. You can download Python from [python.org](https://www.python.org/downloads/).

## How to Run the Exercises

1. Clone this repository to your local machine:
```bash
git clone https://github.com/your_username/python-cs50w.git
cd python-cs50w

2. Run the Python script of the exercise you want to try:
python filename.py

Replace filename.py with the name of the specific exercise you want to run.

Contributions
If you want to contribute to this project, feel free to open an issue or submit a pull request.

License
This project is licensed under the MIT License. See the LICENSE file for more details.

Feel free to copy and paste this directly into your GitHub repository, and modify it as needed! Let me know if there's anything else you'd like to add.