您可以通过以下三种方式之一进行操作:
一起使用单引号和双引号:
print('"A word that needs quotation marks"')"A word that needs quotation marks"转义字符串中的双引号:
print(""A word that needs quotation marks"")"A word that needs quotation marks"使用三引号引起来的字符串:
print(""" "A word that needs quotation marks" """)"A word that needs quotation marks"



