Answers for "how to use ' in python string"

16

how to create string in python

string = "this is string"
#or
string = 'this is also string'
Posted by: Guest on April-15-2020
2

define a string in python

string1 = "something"
string2 = 'something else'
string3 = """
something
super
long
"""
Posted by: Guest on December-04-2020

Code answers related to "how to use ' in python string"

Python Answers by Framework

Browse Popular Code Answers by Language