How to use Strings in Python by CodingXpertz

Publicado el: 18 febrero 2023
en el canal de: Coding Xpertz
7
0

This tutorial will be very code heavy because I’m going to show you a ton of string functions.
Strings are a series of characters between quotes. You can use Single quotes, double quotes
or triple quotes.
CODE
print(type("3"))
print(type(‘3'))
print(type(‘’’3’''))
You can see the data type for data using type
CODE
print(type(3))
print(type(3.14))
Each character is stored in a series of boxes labeled with index numbers. You can find out how
many characters a string contains.
CODE
samp_string = "This is a very important string"
print("Length :", len(samp_string))
You can get characters using index numbers starting at


En esta página del sitio puede ver el video en línea How to use Strings in Python by CodingXpertz de Duración hora minuto segunda en buena calidad , que subió el usuario Coding Xpertz 18 febrero 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 7 veces y le gustó 0 a los espectadores. Disfruta viendo!