Learn Python The Hard Way

    You Will Learn Python
    Zed Shaw has perfected the world’s best system for learning Python. Follow it and you will succeed-just like the hundreds of thousands of beginners Zed has taught to date You bring the discipline, commitment, and persistence; the author supplies everything else.

    In Learn Python the Hard Way, Third Edition, you’ll learn Python by working through 52 brilliantly crafted exercises. Read them. Type their code precisely. (No copying and pasting ) Fix your mistakes. Watch the programs run. As you do, you’ll learn how the software works; what good programs look like; how to read, write, and think about code; and how to find and fix your mistakes using tricks professional programmers use. Most importantly, you’ll learn the following, which you need to start writing excellent Python software of your own:

    Installing a complete Python environment
    Organizing and writing code
    Basic mathematics
    Strings and text
    Interacting with users
    Working with files
    Looping and logic
    Data structures using lists and dictionaries
    Program design
    Object-oriented programming
    Inheritance and composition
    Modules, classes, and objects
    Python packaging
    Automated testing
    Basic game development
    Basic web development

    It’ll be hard at first. But soon, you’ll just get it-and that will feel great
    This tutorial will reward you for every minute you put into it. Soon, you’ll know one of the world’s most powerful, popular programming languages. You’ll be a Python programmer.

    Watch Zed, too The accompanying DVD contains 5+ hours of passionate, powerful teaching: a complete Python video course

    What people are saying –

    Nearly halfway through this book and so far I’m very impressed. I thought that using online video training would be the best way to learn python but I find the online videos seem to move too fast for beginners and you end up scratching your head at times. This book reminds me of the Karate Kid’s training of Wax on Wax off when it comes to learning python. I feel once I’ve finished this excellent book I’ll feel confident to move on to a more advanced Python course. Would highly recommend this book if you’re a complete novice like myself. 

    Refer below for chapter wise

    LPTHW – Exercise 1: A Good First Program

    LPTHW – Exercise 2: Comments and Pound Characters

    LPTHW – Exercise 3: Numbers and Math

    LPTHW – Exercise 4: Variables Names

    LPTHW – Exercise 5 More Variables and Printing