How to put a bacslash | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to put a bacslash

19th Apr 2019, 6:32 AM
Niharika Jatia
Niharika Jatia - avatar
6 Answers
+ 2
By adding another backslash before it... a = "\\ - backslash" print(a) When you execute the two lines, you will get: \ - backslash
19th Apr 2019, 8:45 AM
Kartik
Kartik - avatar
+ 1
#many perspectives one world...kartik krishnan ..just let the lady decide what was she goin 4...
27th Apr 2019, 12:39 PM
Abdul khan
Abdul khan - avatar
0
Press the .?123 button, press the #+= button, then select \
23rd Apr 2019, 9:30 PM
CrunchyLemon
CrunchyLemon - avatar
0
kartik krishnan the person is asking how to put an backslash not how to print it 😂... ans:madam if u are using computer hold shift and press on button marked" \".. or else if u r using samsung keyboard press "sym" then press the button marked "1/2" and then press "\" .. if still any confusion please reply... thank you.
26th Apr 2019, 8:16 PM
Abdul khan
Abdul khan - avatar
0
I don't think so... Abdul khan Since, I see the python and strings tag, I think Niharika Jatia asked how to put backlash in output...
27th Apr 2019, 3:57 AM
Kartik
Kartik - avatar
0
In 123 is slash. Long Click on it and it is backslash
28th Apr 2019, 5:23 AM
Дмитрий