You could do this in one of three ways:
-
Use single and double quotes together:
print('"A word that needs quotation marks"') "A word that needs quotation marks"
-
Escape the double quotes within the string:
print("\"A word that needs quotation marks\"") "A word that needs quotation marks"
-
Use triple-quoted strings:
print(""" "A word that needs quotation marks" """) "A word that needs quotation marks"