Welcome to my repository for CS50's Introduction to Programming with Python. This repository contains all the problem sets, assignments, and projects I completed as part of the course.
These solutions are provided for reference purposes only. Do not copy or submit these solutions as your own work for any course, including CS50. Plagiarism is a serious academic offense and can result in severe consequences.
CS50's Introduction to Programming with Python is a comprehensive course designed to introduce students to the fundamentals of programming using Python. The course covers topics such as:
- Functions, Variables
- Conditionals
- Loops
- Exceptions
- Libraries
- Unit Tests
- File I/O
- Regular Expressions
- Object-Oriented Programming
- Et Cetera
The repository is organized into the following directories:
pset0
topset8
: Problem sets containing various exercises and coding challenges.projects
: Larger projects demonstrating the application of course concepts.
To get started with the code in this repository:
-
Clone the repository:
git clone https://github.com/Mummanajagadeesh/CS50P.git cd CS50P
-
Set up a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install dependencies:
pip install -r requirements.txt
You can run the Python scripts directly from the command line. For example, to run a script from pset0
:
python pset0/script_name.py
If you would like to contribute to this repository, feel free to submit a pull request. Please ensure that your contributions adhere to the course's academic honesty policy.
These solutions are licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. See the LICENSE file for more details.
HarvardX: For offering this excellent course. David J. Malan: For his engaging teaching style and dedication to education.
Happy coding! If you have any questions or suggestions, feel free to open an issue or contact me directly.