Python split and strip

Publicado el: 11 julio 2024
en el canal de: Jakubication
646
17

In Python, split is a string method that splits a string into a list of strings based on a certain character you pass into split. You can optionally specify the character to split on. By default the string is split on any space character and excess spaces are filtered out of the resulting list. You can also optionally set a limit on the number of splits that happen because by default there is not limit on the number of splits that happen. strip is a string method in Python that gets rid of a character or characters from both sides of the string the strip method was called on. You can optionally specify a set of characters to strip off from both sides. By default, any space character is removed from both sides.

Sections
0:00 - split
1:26 - strip
2:27 - outro

#python #codingtutorial #learntocode


En esta página del sitio puede ver el video en línea Python split and strip de Duración hora minuto segunda en buena calidad , que subió el usuario Jakubication 11 julio 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 646 veces y le gustó 17 a los espectadores. Disfruta viendo!