初学python,只写了一句print(‘abc’),在命令终端运行结果是这样的。这是什么问题啊?
展开全部
# python
Python 2.7.6 (default, Nov 22 2014, 16:17:41)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> print('abc')
abc
[root@iZ259r7h4pfZ ~]# cat a.py
print('abc')
[root@iZ259r7h4pfZ ~]# python a.py
abc
Python 2.7.6 (default, Nov 22 2014, 16:17:41)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> print('abc')
abc
[root@iZ259r7h4pfZ ~]# cat a.py
print('abc')
[root@iZ259r7h4pfZ ~]# python a.py
abc
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询