Get Programming
eBook - ePub

Get Programming

Learn to code with Python

  1. 456 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Get Programming

Learn to code with Python

About this book

Get Programming: Learn to code with Python teaches you the basics of computer programming using the Python language. In this exercise-driven book, you'll be doing something on nearly every page as you work through 38 compact lessons and 7 engaging capstone projects. By exploring the crystal-clear illustrations, exercises that check your understanding as you go, and tips for what to try next, you'll start thinking like a programmer in no time. This book works perfectly alongside our video course Get Programming with Python in Motion, available exclusively at Manning.com: www.manning.com/livevideo/get-programming-with-python-in-motionPurchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. What's Inside

  • Programming skills you can use in any language
  • Learn to code—no experience required
  • Learn Python, the language for beginners
  • Dozens of exercises and examples help you learn by doing


About the Reader
No prior programming experience needed. Table of Contents
LEARNING HOW TO PROGRAM
Lesson 1 - Why should you learn how to program?
Lesson 2 - Basic principles of learning a programming language
UNIT 1 - VARIABLES, TYPES, EXPRESSIONS, AND STATEMENTS
Lesson 3 - Introducing Python: a programming language
Lesson 4 - Variables and expressions: giving names and values to things
Lesson 5 - Object types and statements of code 46
Lesson 6 - Capstone project: your first Python program-convert hours to minutes
UNIT 2 - STRINGS, TUPLES, AND INTERACTING WITH THE USER
Lesson 7 - Introducing string objects: sequences of characters
Lesson 8 - Advanced string operations
Lesson 9 - Simple error messages
Lesson 10 - Tuple objects: sequences of any kind of object
Lesson 11 - Interacting with the user
Lesson 12 - Capstone project: name mashup
UNIT 3 - MAKING DECISIONS IN YOUR PROGRAMS
Lesson 13 - Introducing decisions in programs
Lesson 14 - Making more-complicated decisions
Lesson 15 - Capstone project: choose your own adventure
UNIT 4 - REPEATING TASKS
Lesson 16 - Repeating tasks with loops
Lesson 17 - Customizing loops
Lesson 18 - Repeating tasks while conditions hold
Lesson 19 - Capstone project: Scrabble, Art Edition
UNIT 5 - ORGANIZING YOUR CODE INTO REUSABLE BLOCKS
Lesson 20 - Building programs to last
Lesson 21 - Achieving modularity and abstraction with functions
Lesson 22 - Advanced operations with functions
Lesson 23 - Capstone project: analyze your friends
UNIT 6 - WORKING WITH MUTABLE DATA TYPES
Lesson 24 - Mutable and immutable objects
Lesson 25 - Working with lists
Lesson 26 - Advanced operations with lists
Lesson 27 - Dictionaries as maps between objects
Lesson 28 - Aliasing and copying lists and dictionaries
Lesson 29 - Capstone project: document similarity
UNIT 7 - MAKING YOUR OWN OBJECT TYPES BY USING OBJECT-ORIENTED PROGRAMMING
Lesson 30 - Making your own object types
Lesson 31 - Creating a class for an object type
Lesson 32 - Working with your own object types
Lesson 33 - Customizing classes
Lesson 34 - Capstone project: card game
UNIT 8 - USING LIBRARIES TO ENHANCE YOUR PROGRAMS
Lesson 35 - Useful libraries
Lesson 36 - Testing and debugging your programs
Lesson 37 - A library for graphical user interfaces
Lesson 38 - Capstone project: game of tag
Appendix A - Answers to lesson exercises
Appendix B - Python cheat sheet
Appendix C - Interesting Python libraries

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Get Programming by Ana Bell in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Copyright
  2. Brief Table of Contents
  3. Table of Contents
  4. Preface
  5. Acknowledgments
  6. About this Book
  7. About the author
  8. Unit 0. Learning how to program
  9. Unit 1. Variables, types, expressions, and statements
  10. Unit 2. Strings, tuples, and interacting with the user
  11. Unit 3. Making decisions in your programs
  12. Unit 4. Repeating tasks
  13. Unit 5. Organizing your code into reusable blocks
  14. Unit 6. Working with mutable data types
  15. Unit 7. Making your own object types by using object-oriented programming
  16. Unit 8. Using libraries to enhance your programs
  17. Appendix A. Answers to lesson exercises
  18. Appendix B. Python cheat sheet
  19. Appendix C. Interesting Python libraries
  20. Thinking like a programmer: big ideas
  21. Index
  22. List of Figures
  23. List of Tables
  24. List of Listings