IT 116: Introduction to Scripting
Class 27 Ungraded Quiz

  1. Write an expression that evaluates to True if the string "ox" is contained in the string pointed to by the string variable team.


  2. Write an expression that evaluates to True if the string "ox" is NOT contained in the string pointed to by the string variable team.


  3. What string method returns a new string with all characters converted to lowercase?


  4. What string method returns a new string with all characters converted to uppercase?


  5. What string method and argument would you use to remove the linefeed character at the end of a string


  6. What does strip() do?


  7. What string method and argument would you use to create a list from a line in a CSV file?