-1

Sorry for asking a fairly simple question:

How would I "type" a ""/'' in a list, for example:

print("Hello. I am "Playzone"!")

Wanted Output: Hello. I am "Playzone"!

Actual Output: SyntaxError: invalid syntax

How would I fix this?

PlaYZone
  • 1
  • 2
  • change "Playzone" to \"Playzone\", or just use different quotation marks print('Hello. I am "Playzone"!') – lejlot Aug 03 '21 at 23:46

2 Answers2

0
print("Hello. I am \"Playzone\"!")
0
print("Hello. I am 'Playzon'!")

Or

 print('''Hello. I am "Playzon"!''')
alihank
  • 98
  • 2
  • 10