What Is a String?
Strings are text inside quotes.
Hello, Words! 👋
Welcome, code explorer! 🎉 Today we learn about strings. A string is just text that a computer can hold, like a word or a sentence.
Think of it as a little box that holds letters! 📦
Wrap It in Quotes 💬
To make a string in Python, we wrap our text in quotes like this: "cat".
The quotes are like a magic hug around the words. 🤗 Everything inside is the string!
print("cat")All lessons in this course
- What Is a String?
- Joining Words
- Asking for the Name
- Big and Small Letters