Escape Sequence In Python

Python

Hello Friends Me Aapko Aaj Escape Sequence ke Bare me batane wala hu Jisse aap Escape Sequence Learn kar ske |

How To Use Escape Sequence In Python

Escape Sequence Video

Escape Sequence ka use python me sabse jyada hota hai. Jese Ki Agar aapko New Line Me print karana hoto aapko escape sequence use karna hota hai .

Escape Sequence in python

Escape Sequence Ke Ye total Use hone wale character hai jese ki aap is image me dekh rhe honge Aap is image ko dekh kar aap samnj gye honge ki escape sequence kaha use hota hai. Agar aap nhi samnj paye hai to mere niche diye gye kuch example dekh sakte hai.

Escape Sequence Ke Ye total Use hone wale character hai jese ki aap is image me dekh rhe honge Aap is image ko dekh kar aap samnj gye honge ki escape sequence kaha use hota hai. Agar aap nhi samnj paye hai to mere niche diye gye kuch example dekh sakte hai.

How To Print New Line In python

Example

print("Escape \n Sequence ")   # \n  Matlab New Line Print Karna

Outpur:

Escape
 Sequence

Jese Aapne Dekha Hoga New line print Karne ke liye \n Ka use karte hai |

Escape Sequence Space

Jese Ki aapko pata hoga ki escape sequence me space dene ke liye \t ka use hota hai or isse space diya jata hai.

Example

print("Escape \t Sequence")  # \t Matlab tab space dene ke liye

Output:

Escape    Sequence

Jese Ki aapne Dekha Hai ki \t tab space dene ke liye use hota hai.

How To Use Escape Sequence In python

aap ye image dekh kar issi tarah se escape sequence ka use kar sakte hai . Jisse aap sabhi escape sequence ka use kar sakte hai . agar aapko kuch problem hoto aap mere niche diye comment box me likh kar pta kar sakte hai .

Leave a Reply

Your email address will not be published. Required fields are marked *