- 2
Backslash \\
i/p : "hai\every1" o/p: 'hai\\every1' how \ became \\
3 Antworten
+ 3
I think you mean input and output but there's no code. Check out how 'escaping' works, then look at how the commands you're using handle 'escape sequences'. This is an important thing to grasp for python, regular expressions and other languages. If you're still lost, show your code so followup answers can be specific and relevant to you (or post the answer with your code so people can see and learn).
0
i am the beginner. in shell i typed,
>>> "hai \every1"
>>> 'hai \\every1'
how?
0
2nd backslash is bypassed for the first one..@navaneethan