sys.stdin 是一個類似文件的對象,您可以在其上調用函數 read 要麼 readlines 如果你想閱讀所有內容,或者你想閱讀 ... import sys for line in sys.stdin: print line.
確定! 回上一頁