Python Tutorial !! Learn || Escape Sequences

Published: 27 January 2020
on channel: Tech ideal coders
131
5

Escape Sequences:

1) \n = new line characters

2) \\ = \

3) \' ='

4) \" = "

5) \a = ascii bell character

6) \b = backspace

7) \f = ascii form feed character

8) \r = carriage return or move back coursor to last of its

9) \t = tab

10) \v = vertical tab

Practical Code

print("please subscribe \n our channel hardcoders")

#print("please subscribe \\ our channel hardcoders")

#print('please subscribe \' our channel hardcoders')

print("please subscribe \" our channel hardcoders") shortcut to comment is ctrl + ? =comment

#print("please subscribe \a our channel hardcoders") output : please subscribe our channel hardcoders

#print("please subscribe\bour channel hardcoders")

#print("please subscribe \f our channel hardcoders")

#print("please subscribe our \r channel hardcoders")

#print("please subscribe our channel\thardcoders")

print("please subscribe \v our channel hardcoders")

Thankyou


On this page of the site you can watch the video online Python Tutorial !! Learn || Escape Sequences with a duration of hours minute second in good quality, which was uploaded by the user Tech ideal coders 27 January 2020, share the link with friends and acquaintances, this video has already been watched 131 times on youtube and it was liked by 5 viewers. Enjoy your viewing!