Skip to Content
Automate the Boring Stuff with Python
book

Automate the Boring Stuff with Python

by Al Sweigart
April 2015
Intermediate to advanced
504 pages
12h 52m
English
No Starch Press
Content preview from Automate the Boring Stuff with Python

Appendix C. Answers to the Practice Questions

This appendix contains the answers to the practice problems at the end of each chapter. I highly recommend that you take the time to work through these problems. Programming is more than memorizing syntax and a list of function names. As when learning a foreign language, the more practice you put into it, the more you will get out of it. There are many websites with practice programming problems as well. You can find a list of these at http://nostarch.com/automatestuff/.

Chapter 1

  1. The operators are +, -, *, and /. The values are 'hello', -88.8, and 5.

  2. The string is 'spam'; the variable is spam. Strings always start and end with quotes.

  3. The three data types introduced in this chapter are integers, floating-point ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Automate the Boring Stuff with Python, 2nd Edition

Automate the Boring Stuff with Python, 2nd Edition

Al Sweigart

Publisher Resources

ISBN: 9781457189906Errata Page