Python Tutorial !! Learn || Escape Sequences

Publié le: 27 janvier 2020
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne Python Tutorial !! Learn || Escape Sequences durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Tech ideal coders 27 janvier 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 131 fois et il a aimé 5 téléspectateurs. Bon visionnage!