Appendix C. Answers to Self-Test Questions

Here are the answers to the “Test your knowledge” and “Try it out” questions at the end of each chapter. Of course, there’s sometimes more than one right answer, especially with the “Try it out” questions, but you can use these answers to see if you’re on the right track.

Chapter 1: Getting Started

Test your knowledge

  1. In Windows, start IDLE by opening the Start menu, and, under the Python 2.7 entry, select the IDLE (Python GUI) entry. In Mac OS X, click IDLE in the Dock if you have added the application to the Dock, or double-click IDLE.app in the Python 2.7 folder in the Applications folder. In Linux, it depends on which window manager you’re using, but usually there is some sort of Applications ...

Get Hello World! Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.