标签:
hy@hy:~/Documents/py$ python
Python 2.7.8 (default, Oct 20 2014, 15:05:19)
[GCC 4.9.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 1+1
2
>>> exit()
File "<stdin>", line 1
print1 ‘hello‘
^
SyntaxError: invalid syntax
>>> print ‘hello‘
hello
>>> exit()
标签:
原文地址:http://www.cnblogs.com/hyserver/p/4498231.html