📜  继续阅读行,直到没有更多输入 python 代码示例

📅  最后修改于: 2022-03-11 14:47:06.683000             🧑  作者: Mango

代码示例1
//For HackerRank and HackerEarth platform below implementation is preferred:
while True:
try :
    line = input()
    ...
except EOFError:
    break;