Using single quotation | Sololearn: Learn to code for FREE!


Using single quotation

If we use single quotation like this. >>>Print('print('print')'). Will generate error so we should use like this. >>>print('print(\'print\')')

10/31/2019 2:56:37 PM

Karen Avanesian

3 Answers

New Answer


Or simply use double quotes: print("print('print')")


Apart from the fact that you used the wrong escape character ('/' instead of '\'), this is a Question and Answer forum. Unless you have a question, please post stuff like this to your own feed please.


Thx for correcting my mistake.