0

String: Backslash concept in Python

What is the use of backslashes in strings?

15th Apr 2020, 7:49 PM
Devansh Agarwal
5 Answers
+ 1
Backslashes in strings are used to represent escape sequences, or characters you can't easily type on your keyboard or just to generally make everything easier. One example is \n, the new line character. Is there anything else you don't understand?
15th Apr 2020, 9:31 PM
inxanedev!
inxanedev! - avatar
0
You probably made this post because you didn't understand the topic in the tutorial. What exactly do you not understand about that? Please clarify, so that we don't just repeat the info here.
15th Apr 2020, 8:03 PM
HonFu
HonFu - avatar
0
In tutorial not clear about this topic of you know this kindly help please
15th Apr 2020, 8:04 PM
Devansh Agarwal
0
I did not get the use of back slash
15th Apr 2020, 8:05 PM
Devansh Agarwal
0
Ty
16th Apr 2020, 7:59 AM
Devansh Agarwal