How to Read Variable in Python - #LearningPython 15
Today I learned a little bit more about Python, and how to read a these variables, in a SPECIFIC way.
Basically I can read a specific part of the variable, like, if I have a variable (let's call it text) that is a string with: "Subscribe and Like this Video"
Let's say that I want to print just the "Like this Video", so what I can do is:
print(text[14:])
This little code here will print from the 14th Character, printing "Like this Video", so basically, I can print or read a little part of my Variable.
The course I am using(it's in Portuguese): https://on.fiap.com.br/index.php
If you have any question or suggestion on other topics, feel free to comment down below or ask me in Facebook or Instagram!
Visit my Facebook Page in: http://fb.com/teteusbionicoficial
Visit my Instagram: https://www.instagram.com/teteusbionic/
Visit my Website: http://www.teteusbionic.com.br