Skip to content Skip to sidebar Skip to footer
Showing posts with the label Literals

What's The Advantage Of Having Multi-line & Single-line String Literals In Python?

I know the triple quote strings are used as docstrings, but is there a real need to have two string… Read more What's The Advantage Of Having Multi-line & Single-line String Literals In Python?

Python Literal R'\' Not Accepted

r'\' in Python does not work as expected. Instead of returning a string with one character… Read more Python Literal R'\' Not Accepted