1 Matching Annotations
- Sep 2020
-
greenteapress.com greenteapress.com
-
- Strings are not like integers, floats, and booleans.
- A string is asequence, which means it isan ordered collection of other values.
- A string is a sequence of characters.
- len is a built-in function that returns the number of characters in a string.
- A segment of a string is called aslice.
- Strings provide methods that perform a variety of useful operations.
- A method is similarto a function—it takes arguments and returns a value—but the syntax is different.
Tags
Annotators
URL
-