I'm running Python on terminal
Given a string string = "abcd
"
I'd like to print
it somehow so that the newline characters '
'
in abcd
would be visible rather than go to the next line
Can I do this without having to modify the string and adding a double slash (\n
)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…