随笔记录——Python接受终端入若干行输入Python接受终端的若干行输入时,比较常用的input()不再好用。1. 导入sys模块:import sys 2. for循环接受输入:for line sys.stdin: # todo3. Debug可ctrl+D