python 的 sys.stdout.write( 'xxx' ) 与 sys.stdin.readline( ):
python 的 sys.stdout.write( ‘xxx’ ) 与 sys.stdin.readline():
1. sys.stdout.write( ‘xxx’ ) 这个语句会输出 括号中的内容和括号中的字符数.
In [19]: import sys
In [20]: sys.stdout.write("hello")
Out[20]: hello5
呃, 明显看出, 输出结果不...
原创
2018-11-25 16:54:27 ·
846 阅读 ·
0 评论