Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
0 like 0 dislike
1.4k views
in e-books by 13 15 24
edited by

This simple book is meant to get you started in programming. The title says it’s the hard way to learn to write code, but it’s actually not. It’s only the “hard” way because it uses a technique called instruction.

The author's instruction to write every exercise by self and don't copy and paste it, also to make sure each exercise running successfully and this is the hard way, but by the end, you will have full knowledge to build an application by Python.


Book Contents

  • Exercise 0: The Setup
    teach you how to install the python in your machine
  • Exercise 1: A Good First Program
    teaches you how to write your first code.
  • Exercise 2: Comments and Pound Characters
    teaches you how to write and use comments.
  • Exercise 3: Numbers and Math
    teaches you how to deal with math.
  • Exercise 4: Variables and Names
    teaches you how to create and deal with variables.
  • Exercise 5: More Variables and Printing
    teaches you different variables types and how to print them.
  • Exercise 6: Strings and Text
    teaches you how to deal with string.
  • Exercise 7: More Printing
    teaches you more tricks to printing variables.
  • Exercise 8: Printing, Printing
    teaches you how to use formate in printing.
  • Exercise 9: Printing, Printing, Printing
    teaches you how to print in a new line.
  • Exercise 10: What Was That?
    teaches you about Escape Sequences in printing
  • Exercise 11: Asking Questions
    teaches you how to ask a question and get the answer from input
  • Exercise 12: Prompting People
    teaches you how to enhance code for exercise 11
  • Exercise 13: Parameters, Unpacking, Variables
    In this exercise, we will cover one more input method you can use to pass variables to a script
  • Exercise 14: Prompting and Passing
    teach you how to prompt and Passing the inputs.
  • Exercise 15: Reading Files
    teaches you how to deal with files and how to read them.
  • Exercise 16: Reading and Writing Files
    teaches you how to read and write the file.
  • Exercise 17: More Files
    teaches you how to copy one file to another.
  • Exercise 18: Names, Variables, Code, Functions
    introduce you to the functions.
  • Exercise 19: Functions and Variables
    teaches you how to create and call functions
  • Exercise 20: Functions and Files
    teaches you how functions and files can work together
  • Exercise 21: Functions Can Return Something
    teaches you how to return something from functions
  • Exercise 22: What Do You Know So Far?
    going to have you do a form of a review of what you have learned so far.
  • Exercise 23: Read Some Code
    teaches you how and where reading code on the internet.
  • Exercise 24: More Practice
    helps you to write more code
  • Exercise 25: Even More Practice
    helps you to write more code
  • Exercise 26: Congratulations, Take a Test!
    small quiz
  • Exercise 27: Memorizing Logic
    teaches you how to use logic (True, False)
  • Exercise 28: Boolean Practice
    teaches you about The logic combinations
  • Exercise 29: What If
    teaches you how to use IF
  • Exercise 30: Else and If
    teaches you how to use IF else statement
  • Exercise 31: Making Decisions
    teaches you how to use IF, else, and else if statement
  • Exercise 32: Loops and Lists
    teaches you how to create a list and loop in it.
  • Exercise 33: While-Loops
    teaches you how to create a loop based on condition 
  • Exercise 34: Accessing Elements of Lists
    teaches you how to get an element of the list.
  • Exercise 35: Branches and Functions
    write the script and use all the above lessons.
  • Exercise 36: Designing and Debugging
    give you some tips on debugging so that you can figure out problems with your program
  • Exercise 37: Symbol Review
    Its great lesson teaches you about keywords, data types, and symbols, etc..
  • Exercise 38: Doing Things to Lists
    teaches you about built-in list functions
  • Exercise 39: Dictionaries, Oh Lovely Dictionaries
    teaches you what is dictionaries and how to deal with it.
  • Exercise 40: Modules, Classes, and Objects
    teaches you how to create and use classes/objects
  • Exercise 41: Learning to Speak Object-Oriented
    teaches you how to use OOP in python
  • Exercise 42: Is- A, Has- A, Objects, and Classes
    difference between a class and an object.
  • Exercise 43: Basic Object-Oriented Analysis and Design
    teaches you how to design a solution step by step.
  • Exercise 44: Inheritance vs. Composition
    teaches you how to extend from class to another.
  • Exercise 45: You Make a Game
    teaches you how to planning and start a new application.
  • Exercise 46: A Project Skeleton
    how to set up a good project “skeleton”
  • Exercise 47: Automated Testing
    teaches you how to write test cases.
  • Exercise 48: Advanced User Input
    teaches you about more inputs like events.
  • Exercise 49: Making Sentences
    teaches you how to deal with sentences.
  • Exercise 50: Your First Website
    teaches you how to write the first website script.
  • Exercise 51: Getting Input from a Browser
    teaches you how to get input from the Browser.
  • Exercise 52: The Start of Your Web Game
    write and running games on the web.
     

Book Summary

  • Book Name: Learn Python the Hard Way: A Very Simple Introduction to the Terrifyingly Beautiful World of Compute.
  • Category: Programming language.
  • Level: Intermediate.
  • Published Date: 09/27/2013.
  • Publisher: Addison-Wesley Professional (October 26, 2013).
  • # Pages: 308 pages.
  • Authors: Zed A. Shaw.
  • ISBN: 978-0-321-88491-6.
  • Our rate: 7.5.
  • Payment: Not free.
  • Pay this book from Amazon: Learn Python the Hard Way
  • Check a sample for this book: Book Sample.

Please, note that the book samples are not uploaded to our site, it's an excternal link from other sites and we're not resopnisble aboout it. Meanwhile, if you think it's not allowed to add the sample URL on our site,  please, Feedback us to remove it.


If you don’t ask, the answer is always NO!
...