print("------------->>> example for backslash(\\)<<<---------------")
txt = ("This will insert one \\ (backslash).")
print(txt)
print(" ")
print(" ")
print("------------->>> example for (\)<<<---------------")
txt = 'It\'s alright.'
print(txt)
print(" ")
print(" ")
print("------------->>> example for (n)<<<---------------")
txt = "Hello\nWorld!"
print(txt)
print(" ")
print(" ")
print("------------->>> example for (r)<<<---------------")
txt = "Hello\rWorld!"
print(txt)
print(" ")
print(" ")
print("------------->>> example for (t)<<<---------------")
txt = "Hello\tWorld!"
print(txt)
print(" ")
print(" ")
print("------------->>> example for erases one character (backspace)(\b)<<<---------------")
txt = "Hello \bWorld!"
print(txt)
print(" ")
print(" ")
print("---->> #A backslash followed by three integers will result in a octal value:<<<----")
txt = "\110\145\154\154\157"
print(txt)
print(" ")
print(" ")
print("---->> #A backslash followed by an 'x' and a hex number represents a hex value:<<----")
txt = "\x48\x65\x6c\x6c\x6f"
print(txt)
output:
This will insert one \ (backslash).
------------->>> example for (\)<<<---------------
It's alright.
------------->>> example for (n)<<<---------------
Hello
World!
------------->>> example for (r)<<<---------------
Hello
World!
------------->>> example for (t)<<<---------------
Hello World!
------------->>> example for erases one character (backspace)()<<<---------------
Hello World!
---->> #A backslash followed by three integers will result in a octal value:<<<----
Hello
---->> #A backslash followed by an 'x' and a hex number represents a hex value:<<----
Hello