Python Tutorial !! Learn || Escape Sequences

Publicado el: 27 enero 2020
en el canal de: 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


En esta página del sitio puede ver el video en línea Python Tutorial !! Learn || Escape Sequences de Duración hora minuto segunda en buena calidad , que subió el usuario Tech ideal coders 27 enero 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 131 veces y le gustó 5 a los espectadores. Disfruta viendo!