Skip to content

A collection of Python scripts containing attempted solutions to exercises from Y. Daniel Liang's "Introduction to Programming Using Python." Perfect for students and learners to practice and understand Python programming concepts.

License

Notifications You must be signed in to change notification settings

dennismkaunda/daniel-liang-python-exercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

daniel-liang-python-exercises

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.

Table of Contents

Introduction

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.

Structure

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
│   └── ...
└── ...

Requirements

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.

How to Use

  1. Clone the repository to your local machine:

    git clone https://github.com/Mzwanya/daniel-liang-python-exercises.git
    
  2. Navigate to the directory of the exercise you want to run:

    cd daniel-liang-python-exercises/Chapter1
    
  3. 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.

Contributing

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.

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Commit your changes (git commit -am 'Add some feature').
  4. Push to the branch (git push origin feature-branch).
  5. Create a new Pull Request.

Contact

If you have any questions or suggestions, feel free to open an issue or contact me directly:

License

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

Acknowledgments

Disclaimer

  • 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! 💻

About

A collection of Python scripts containing attempted solutions to exercises from Y. Daniel Liang's "Introduction to Programming Using Python." Perfect for students and learners to practice and understand Python programming concepts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages