🔥 Welcome to my blog! Latest updates available now. Visit daily! 🔥 🔥 Click Here for Latest Updates – Visit My Blog 🔥
🔥 Latest Updates 📊 GP Grade Finder 📢 Government Services Info 🆕 New Schemes Updates

Escape Characters in Python

--> In String literals we can use escape characters to associate a special meaning.

>>>s="siddu\nsoftware"

>>> print(s)

durga

software.

>>>s="siddu\tsoftware"

>>> print(s) #siddu software


>>>s="This is " symbol"

    File "<stdin>", line 1

s="This is "symbol" 


SyntaxError: invalid syntax

>>>s="This is \" symbol"

>>> print(s)

This is "symbol


-->The following are various important escape characters in Python

\n===>New Line

\t===>Horizontal tab 

\r===>Carriage Return

\b===>Back space 

\f===>Form Feed

\V==>Vertical tab

\'>Single quote

\">Double quote

\\===>back slash symbol

No comments:

Post a Comment

Thank you Very Much.For Given Comment

Birth & Death Registration Rules 2026

జనన, మరణాà°² నమోà°¦ు à°µిà°·à°¯ంà°²ో 2026 à°…à°•్à°Ÿోబర్ 1 à°¨ుంà°šి à°•ొà°¤్à°¤ à°¨ిà°¬ంధనలు అమల్à°²ోà°•ి à°°ాà°¨ుà°¨్à°¨ాà°¯ి. 🔹 21 à°°ోà°œుà°²్à°²ోà°ªు: à°¸ాà°§ాà°°à°£ à°°ిà°œిà°¸్à°Ÿ్à°°ేà°·à°¨్ 🔹 21 à°°ోà°œుà°² తర్à°µాà°¤...