I am confused by the difference between "n" and print ("n")
I am still confused when entering this command in the Python shell:
>>> 'n'
'n'
>>> print('n')
n
What does 'n'(first conclusion) mean ? And what does the second mean n? Why doesn't Python just print nas output 'n'is the same as print('n')?
I think that print('n')means: I (Python) print nas a character
Then what about the first? if it >>> 'n'means the same, why doesn't it just print n?
+4
4 answers