IT 116: Introduction to Scripting
Class 27 Ungraded Quiz

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


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


  3. Under what conditions will the string method isalnum() return True.


  4. Under what conditions will the string method isalpha() return True.


  5. Under what conditions will the string method isdigit() return True.


  6. Under what conditions will the string method islower() return True.


  7. Under what conditions will the string method isupper() return True.


  8. Under what conditions will the string method isspace() return True.