This repository contains Python scripts with attempted solutions to the exercises from the book "Introduction to Programming Using Python" by Y. Daniel Liang. The purpose of this repository is to provide a reference and learning resource for those studying the book and practicing Python programming.
- Introduction
- Structure
- Requirements
- How to Use
- Contributing
- Contact
- License
- Acknowledgments
- Disclaimer
This repository aims to compile solutions for the exercises in Y. Daniel Liang's book. Each solution is written in Python and is intended to help students and enthusiasts understand and practice the concepts presented in the book.
The repository is organized by chapters, with each chapter containing subdirectories for the exercises. The structure is as follows:
├── Chapter1
│ ├── Exercise1.01.py
│ ├── Exercise1.02.py
│ └── ...
├── Chapter2
│ ├── Exercise2.01.py
│ ├── Exercise2.02.py
│ └── ...
└── ...
You need Git installed to clone the repository. To run the scripts in this repository you need to have Python installed. The recommended version is Python 3.6 or higher. You can download Python from the official website.
-
Clone the repository to your local machine:
git clone https://github.com/Mzwanya/daniel-liang-python-exercises.git
-
Navigate to the directory of the exercise you want to run:
cd daniel-liang-python-exercises/Chapter1
-
Run the Python script:
python Exercise1.01.py
Each script is self-contained and should run independently. Follow the comments and code within each script for specific instructions and explanations.
Contributions are welcome! If you have a solution that is more efficient or you find an error, feel free to fork the repository and submit a pull request.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
If you have any questions or suggestions, feel free to open an issue or contact me directly:
- Email: [email protected]
This repository is licensed under the MIT License. See the LICENSE file for more details.
- Thanks to Y. Daniel Liang for the excellent book.
-
The solutions I provided in this repository are attempted answers to the exercises in Y. Daniel Liang's "Introduction to Programming Using Python". They are not official solutions and may not be perfect or optimal. These solutions are meant for reference and learning purposes only. Users are encouraged to attempt the exercises on their own before consulting these solutions. If you find any errors or have suggestions for improvement, please open an issue or submit a pull request.
-
Remember that the primary goal is to learn and understand the concepts. Simply copying these solutions without understanding the underlying principles will not contribute to your learning process. Happy Coding! 💻