continue reading lines until there is no more input python code example
Example: 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;