Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

continue reading lines until there is no more input python

//For HackerRank and HackerEarth platform below implementation is preferred:
while True:
try :
    line = input()
    ...
except EOFError:
    break;  
 
PREVIOUS NEXT
Tagged: #continue #reading #lines #input #python
ADD COMMENT
Topic
Name
9+8 =