Site icon DataFlair

Python Escape Sequence

Master Python with 70+ Hands-on Projects and Get Job-ready - Learn Python

Program 1

#print("Hello\nFriends\nHow are you")
# print("Hello\tFriends\tHow are you")
# print(" 'Vivek' ")
# print(" \'Vivek\' ")
# print(' \'Vivek\' ')
# print(" \"Vivek\" ")
# print(' "Vivek" ')
# print(' \"Vivek\" ')
# print("DataFlair     \b\b\b\b\bPython Course")
# text="\115\114\115\116"  # Octal 
# print(text)
#text="\x41"  # Hexadecimal
#print(text)
# print("\n*\n**\n***\n****\n*****")

# print("--------------------------------")
# print("Pid \t Name\t Price \t Qty")
# print("--------------------------------")
# print("101\t Limca\t20\t12")

 

Exit mobile version