+ 1
Why is the output of print(‘print(“print”)’) print(“print”)? Without backslashes, why is the double quotes escapsed?
Why is the output of print(‘print(“print”)’) print(“print”)? Without backslashes, why is the double quotes escapsed and printed?
1 Answer
0
anything within quotes will be considered as string by python. As 'print("print")' is within quotes, it prints it.