How can I print this ('''""") in Python?
I tried this but I got error:
print("'''"""")
and I tried this but I got error:
print(""""""'''"""""")
How can I print this ('''""") in Python?
I tried this but I got error:
print("'''"""")
and I tried this but I got error:
print(""""""'''"""""")
You can put a backslash character followed by a quote (\" or \').
This is called an escape sequence and Python will remove the backslash, and put just the quote in the string.
print("'''\"\"\"")
# or
print('\'\'\'"""')