Programming is not only about performing calculations. A useful program must also be able to display names, instructions, states and results that people can understand.
I published a new Spanish guide in TuCódigoCotidiano explaining how strings work in Python from the ground up.
In this guide, you will learn:
What a string and the str data type are
How to use single and double quotes
How Python organizes characters through indexes
How to access the first and last characters
How to extract fragments using slicing
How to concatenate and repeat text
How to build clearer messages in your programs
The explanations are accompanied by practical code examples that you can copy, run and modify while learning.
Numbers allow programs to calculate. Strings allow programs to communicate.
Read the complete guide in Spanish:
Top comments (0)