Answers for "how to print in double quotes in python"

1

how to print in double quotes in python

# There are two ways -
print('"By using single quotes"')
print("\"Or By using escape character double quotes\"")
Posted by: Guest on June-04-2021
-2

python put double quotes in string

"What a string, \"OMG DOUBLE QUOTES IN A STRING!!!\" whoa, those are cool"
Posted by: Guest on May-25-2021
-1

python return double quotes instead of single

>>> import json
>>> List = ["A", "B"]
>>> print json.dumps(List)
["A", "B"]
Posted by: Guest on September-06-2020

Code answers related to "how to print in double quotes in python"

Python Answers by Framework

Browse Popular Code Answers by Language