Python Programming/Quiz 2

From Wikibooks, open books for an open world
Jump to navigation Jump to search

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?