Resolved: why double quote present in out(12)
in(11) "i' m fine"
out(11) "i' m fine"
In(12) 'i\' m fine'
out(12) "i' m fine"
how the double quote is present in Out(12)
1 answers ( 1 marked as helpful)
Hi Sameer!
Thanks for reaching out.
The reason why Jupyter Notebook displays it this way is because a single quote is already used in the string and therefore double quotes are needed to wrap the whole string. Why? Because strings cannot contain single quotes if they are wrapped in double quotes.
Hope this helps.
Best,
Tsvetelin