Chapter 2: Types, Variables, and Simple IO: The Useless Trivia Program


Download CD Content

Overview

Now that you've been introduced to the basics of saving and executing a program, it's time to dig in and create some more. In this chapter, you'll learn about different ways computers can categorize and store data and, more importantly, how to use this data in your programs. You'll even see how to get information from the user so that your programs become interactive. Specifically, you'll learn how to do the following:

  • Use triple-quoted strings and escape sequences to gain more control over text

  • Make your programs do math

  • Store data in the computer's memory

  • Use variables to access and manipulate that data

  • Get input from users to create interactive programs




Python Programming for the Absolute Beginner
Python Programming for the Absolute Beginner, 3rd Edition
ISBN: 1435455002
EAN: 2147483647
Year: 2003
Pages: 194

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net