[1] COMMENTS
Comments are
used by #
Program :
#This is a comment.
print("Hello, World!")
output: Hello,World
2] Escape sequence
Symbol that were print after \
\’ =’
\\ = \
#output : \" \'
print("\\\"\\\'")
Program:
print("We are the so-called
\"Vikings\" from the north.")
output: We are the so-called
"Vikings" from the north.
All escape sequence
Comments
Post a Comment