没有限制输入数量,一般用while true 来循环读取

    1. while True:
    2. try:
    3. s=input()
    4. """逻辑处理代码"""
    5. except:
    6. break #判断输入是否终止