Python - Concat and repeat
📖 Read the lesson
Code Life
By Pierre Marsaa
What is a String?
I already introduced you to strings so it's normal if you have a déjà-vu. In the next chapters, we will explore them in depth.
A string is a sequence of characters. In Python, strings are created by enclosing characters in quotes.
↗️
Loading editor...
↶
▶️ Run
↷
You can use either single quotes (') or double quotes (") to create a string in Python.
Verify