Head office, Rana Pratap Bagh, Delhi011 2721 1512+91 97116 99511

Programming and web15 books

Python for Beginners

Learn to program with Python 3, one small program at a time

  • Free ebook
  • Beginner
  • 28 pages
  • 138 KB
  • PDF, English

Free to download, read, print and share. Not for sale.

About this ebook

What you will learn

A gentle first course in programming with Python 3. You will install Python and IDLE, then learn variables, numbers, strings, decisions, loops, lists, dictionaries, functions, modules, files and error handling by writing fifteen small working programs, from a simple interest calculator to a guessing game and a class marks report.

Who it is for

School and college students starting programming.

Contents

  1. Chapter 1: Getting ready: Python 3 and IDLE
  2. Chapter 2: Talking to the user: print, input and variables
  3. Chapter 3: Numbers and arithmetic
  4. Chapter 4: Working with strings
  5. Chapter 5: Making decisions with if, elif and else
  6. Chapter 6: Repeating with while and for loops
  7. Chapter 7: Lists, tuples and dictionaries
  8. Chapter 8: Writing your own functions
  9. Chapter 9: Modules: math and random
  10. Chapter 10: Files, errors and try/except
  11. Chapter 11: Project: a class marks report

At the end of the book

  • Practice questionsTo check what you have learnt, with the answers after them.
  • GlossaryThe key words of the book, each explained in one sentence.
  • Easy EnglishShort sentences and everyday words, with each new word explained the first time.

Reading, printing and sharing

  1. On a phone or computerTap Read online to open the book in your browser, or Download to keep it and read it without the internet.
  2. To printThe pages are A5, half the size of A4. Choose two pages per sheet in the print settings to fit two pages on each A4 sheet.
  3. To shareSend the link to this page, or the PDF itself, to friends, classmates or students. The book is free for everyone.

More from this family

All 15 books in Programming and web
WhatsApp us