Answers for "python print show special characters"

2

python print show special characters

a = "Hello\tWorld\nHello World"
print(repr(a))
# 'Hello\tWorld\nHello World'
Posted by: Guest on August-05-2020

Code answers related to "python print show special characters"

Python Answers by Framework

Browse Popular Code Answers by Language