Why are the escape characters not working in this code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why are the escape characters not working in this code?

https://code.sololearn.com/c9xACzOf4b3M/?ref=app

28th Jan 2020, 4:51 PM
Hamid Reza Mousavi
Hamid Reza Mousavi - avatar
4 Answers
+ 2
It's work for me. Can i see your code?
28th Jan 2020, 4:53 PM
Thống Nguyễn
Thống Nguyễn - avatar
+ 2
please show the code you have written so that it can be better explain to you
28th Jan 2020, 5:09 PM
✳AsterisK✳
✳AsterisK✳ - avatar
28th Jan 2020, 6:16 PM
Hamid Reza Mousavi
Hamid Reza Mousavi - avatar
0
Hamid Reza Mousavi: try this and you will see it's work: print('test\n 1234') or print('test\'1234') If you want to use regular expression, please using "re library"
28th Jan 2020, 6:23 PM
Thống Nguyễn
Thống Nguyễn - avatar