What are strings?
Strings are text - any characters inside quotes. Python doesn’t care if you use single or double quotes, just be consistent.Creating strings
Three ways to make strings:Combining strings
Join strings together with+:
String length
Uselen() to count characters:
Converting to string
Turn other types into strings withstr():
Common mistakes
Mixing quotes
Mixing quotes
Can't add strings and numbers
Can't add strings and numbers
Forgetting quotes entirely
Forgetting quotes entirely
What’s next?
Let’s explore True/False values - essential for making decisions in your code!Booleans
True and False values