CL.CHAPTERLIGHT
BOOKS
← All books
Cover of How to Code by Dedrick Logan
LEARNING · TECHNOLOGY

How to Code

By Dedrick Logan

A beginner’s guide to Python, with lessons, practice projects, and a path for continued learning.

Digital ebook. Check the Payhip listing for the exact file format and current price before buying. Payhip provides a download page and emails an access link after purchase.

Share this bookX (Twitter)Facebook

What this guide covers

  • Learn foundational Python ideas in a beginner sequence
  • Practice with small projects rather than memorizing syntax
  • Find a path for continued learning

Free reading sample

A useful first exercise is to ask a program for a name, store the answer, and print a greeting. Then change one line and see what happens. Experimenting with tiny programs makes an unfamiliar concept concrete.

In Python, try name = input("What is your name? ") followed by print("Hello, " + name). Run it, then change the greeting. Notice that name stores the answer and print displays a new sentence.

This original sample explores a topic from the guide; it is not a page from the purchased ebook.