Q. How are string-literals represented and implemented in Python?

Answer =

String literal represented by enclosed by single or double quotes that from string literal in python.

Example :
a = "string"
print (a)
>>> string

print (“python”)
>>> python


2 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post