Escape Sequence with Python
print("Hey I am a \"good boy\"nand this viewer is also a good boy/girl")
print("Hello World")
#This is a 'Single-Line Comment'
print("This is a print statement.")
print("Hello World!!!") #Printing Hello World
Result:
Hey I am a "good boy"nand this viewer is also a good boy/girl
Hello World
This is a print statement.
Hello World!!!
Use backslash for escape sequence
Comments
Post a Comment