String operations in Python
This is a quick documentation on Python string operations.
Writing string to variable (assignment) using equal (=) operator
a = "test string" print(a)
test string
Line-breaks within a string (multi-line string) using three quotes
b = """This is first line, second line, thrid line""" print(b)
This is first line, second line, thrid line
Strings can be handled as if they…
View On WordPress








