3. Names for Strings¶
Learning Objectives:
Create a variable that can store text (a string)
Add (append or concatenate) strings together to create new strings
Introduce the
inputfunction and the concept of a function.Convert a number into a string to concatenate it to another string
Use dot-notation to invoke functions on string objects
Introduce some string functions like
lower,capitalize,len, andfind.Show that strings are immutable (don’t change)
Contents
You have attempted of activities on this page
