Last modified on 16 May 2010, at 01:52

Python Programming/Quiz 2

Chapter 2 Quiz, Python Programming from Wikibooks

  1. How can you send (output) text to the screen?
  2. What is a variable?
  3. What does the comma do when placed between items to be printed?
  4. What is a string?
  5. What do the + and * operators do to strings?
  6. How can you determine how long a string is?
  7. What function waits for the user to type some text and returns it?
  8. How can you prevent the output from making a new line?
  9. What would you use to convert values between str and int types?