1、sys.stdin.readline( )会将标准输入全部获取,包括末尾的'\n',input()则不会。一下例子,输入hello import sys line = sys.s.
確定! 回上一頁