Explain other string literals?



Explain other string literals?..

Answer / Mohd. Ilyas Ansari

In addition to single quotes and double quotes, Python also supports raw strings. Raw strings are denoted by an 'r' or 'R' before the opening quote, which disables backslashes from their special meanings. For example: r'n', or R'raw string with
'.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

Why does python use self?

1 Answers  


What are class methods in python?

1 Answers  


How to send an email in Python?

2 Answers  


What is the key difference between a list and the tuple?

1 Answers  


What is the use of negative indices?

1 Answers  


What is web scraping?

1 Answers  


Differentiate between Pyramid, Django, and Flask

2 Answers  


How can you declare the variables function in python?

1 Answers  


How will you sort a list?

1 Answers  


Do python functions need return?

1 Answers  


How will you remove an object from a list?

1 Answers  


How does Python’s list.sort work at a high level? Is it stable? What’s the runtime?

1 Answers  


Categories