Python 101 #4: Strings

preview_player
Показать описание
In this video we cover strings; what they are, how to manipulate them and some things to be mindful of such as raw strings and escape sequences.

I hope you enjoy the session and learn something new! Feel free to comment any feedback/questions below, or follow my channel if you enjoyed this.

Software used;

Hardware used;
Рекомендации по теме
Комментарии
Автор

I love the Greta reference! That sense of humor <3

Ivelios
Автор

myHero = 'batman is my hero'
split_Words = myHero.split(' ', myHero.count(' '))
print(split_Words)


['batman', 'is', 'my', 'hero']


Thanks to you :-)


and yes [::-1] is quite handy, i didn't know that.

immi