String Literals in Python| Single, Double, Triple Quotes & Multiline Strings
Computer Sir Ki Class
0:00 / 0:00
String Literals in Python| Single, Double, Triple Quotes & Multiline Strings
18 просмотров · 2 дня назад
Computer Sir Ki Class
226 подписчиков
18 просмотров · 2 дня назад
Learn the different ways to define strings in Python and understand single, double, and triple-quoted string literals.
In this lesson:
Single-quoted and double-quoted strings
Triple single and triple double quotes
Multiline strings
Breaking long strings using backslash
Physical line vs logical line
Implicit line joining
Choosing triple quotes vs line continuation based on intent