in function in python string code example
Example 1: string in python
# ways to dfefine string in python
string = "String"
string = str(string)
# Can Add strings
s1 = "Str"
s2 = "ing"
s = s1 + s2 # "String"
Example 2: define a string in python
string1 = "something"
string2 = 'something else'
string3 = """
something
super
long
"""