Appendix. 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 are 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.5 entry, select the IDLE (Python GUI) entry. In Mac OS X, click IDLE in the Dock, or double-click IDLE.app in the Applications folder. In Linux, it depends on which window manager you are using, but usually there is some sort of Applications or Programs menu.

2

print displays some text in the output window ...

Get Hello World! Computer Programming for Kids and Other Beginners now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.