数字前面加了一个\,为什么显示不全了
s = 'Python was started in \1989 by \"Guido\".\nPython is free and easy to learn.' print s
这种情况下输出就会显示989而不是1989,我想知道为啥?任意数字前面加\是有什么意义么
s = 'Python was started in \1989 by \"Guido\".\nPython is free and easy to learn.' print s
这种情况下输出就会显示989而不是1989,我想知道为啥?任意数字前面加\是有什么意义么
2019-01-25
举报