How to put quotation marks in a string text

Hello, I need a little help on doing things like what I will show you below.

I would like to be able to code this:

print("Hello "world"!")

And the output to be

Hello "world"!

How would I code this into a script?
Any help is great, thank you!

You can prevent special functions of characters by adding “\” infront of it. To print what you want you should do:

print("Hello \"world\"!")

Alternatively, you could also do:

print('Hello "world"!')
6 Likes