9. Library time

9.1. 10 seconds between each access

Activity: 9.1.1 ActiveCode (ac_l33_9_en)

9.2. Summary

  • Strings are character strings.

  • We access individual characters by their index, starting at zero.

  • Methods are functions built into variables.

  • There are programming libraries with ready-made code.

  • Data has a type, such as int or string.

9.3. Python Tools

  • text[4] accesses the fifth character.

  • text[4:9] accesses from the fifth to the ninth character.

  • The method text.find() searches for a substring.

  • float() converts something to a floating point number.

  • Libraries: urllib.request and time.

On a scale from 1 (needs improvement) to 3 (excellent), how would you rate this chapter?




Activity: 9.3.1 Poll (TWP33E)

You have attempted 1 of 3 activities on this page