In this Python tutorial for beginners we are going to learn to use String variables in our programs. Let's start.
Now that we know how to store numbers in variables let’s learn how to store text in variables in Python. We store text, or a series of characters, in Python in a type of variable which is called String or Str for short. Let’s create a string variable to store a name for example.
We type the variable name:
name = “Elon”
and let’s print it by typing the command:
print(name)