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’

Post a Comment

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

Previous Post Next Post