+ 1

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\')')

31st Oct 2019, 2:56 PM
Karen Avanesian
Karen Avanesian - avatar
3 Antworten
+ 4
Or simply use double quotes: print("print('print')")
31st Oct 2019, 3:09 PM
Asman-H
Asman-H - avatar
+ 3
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.
31st Oct 2019, 3:02 PM
Russ
Russ - avatar
+ 1
Thx for correcting my mistake.
31st Oct 2019, 3:05 PM
Karen Avanesian
Karen Avanesian - avatar