Python string manipulation for beginners

preview_player
Показать описание
Learn how to manipulate strings using Python. This is an excerpt from our course: Python for Beginners: Learn how to code properly in 2021.

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

Solid explanation. Formatted string literals seem to be the no-brainer option here, but at least now if I see one of the older formatting methods I’ll have an idea of what I’m looking at. Thanks!

AustinAstray
Автор

In my opinion concatenation is much more readable: print(name, age) vs print("{} {}".format(name, age)) <-- this looks gross. Maybe for more complicated strings its worth it

pattytheratty
join shbcf.ru