--Originally published at Sierra's Blog
Hello everyone! Today i’m gonna talk about strings.
Strings in python let you store letters and numbers in a variable.
the_string = “example”
this orders python to save, in the variable called the_string, the characters e x a m p l e, so, if you ask python to print this, it will print the word “example”.
don’t make this mistake, python use the symbol (“) to understand that what you’re typing is a string, so, if you ask python to print the variable inside “” it will only print the name of the variable.
you should look at this page for more information about strings: https://docs.python.org/2/library/string.html
here’s also a video that might help you: