Python : Print Modifiers
Kalyanam Venumadhav
Posted on August 3, 2024
Hey Folks, Print Modifiers modifies the code using single, double quotations and along with black slash ().
In English '\' is used in speech sentence framing fun with a real world example.
Code:
If a word needs to be printed at middle of String(Sentence) we use Single Quotes or Double Quotes it's up to our point. 2 Scenarios comes into picture like,
Use Single Quotes in a String (Sentence) to add a word, check whether which quotes are using at starting (either Single or Double Quotes) to Print a Complete String
Use Double Quotes in a String(Sentence) to add a word, check whether which quotes are using at starting either (Single or Double Quotes) to Print a Complete String
Use \ before string to ignore Quotations and to Print a String
Posted on August 3, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.