小编Cle*_*oys的帖子

Python 2.7.9打印语句,列表奇怪输出

为什么只有字符串应该打印时才会打印打印功能中的整个参数以及paranthesis

这是Python 2.7.9

import os

alist = [ 'A' ,'B']

print('Hello there')
print('The first item is ',alist[0])
print('Good Evening')

root@justin:/python# python hello.py
Hello there
('The first item is ', 'A')
Good Evening
Run Code Online (Sandbox Code Playgroud)

python

2
推荐指数
1
解决办法
543
查看次数

标签 统计

python ×1