打印文本时,python中“”和“”之间的区别是什么

时间:2019-06-17 12:56:40

标签: python

我想知道为什么要在python中使用''而不是“”打印吗?

显示相同

python
print('hello')
print("hello")

与输出相同

我没有任何错误,我希望会有所不同,但相同

输出为:

hello
hello

0 个答案:

没有答案