Continuez à lire les lignes jusqu'à ce qu'il n'y ait plus de Python d'entrée

//For HackerRank and HackerEarth platform below implementation is preferred:
while True:
try :
    line = input()
    ...
except EOFError:
    break;  
Ghaith Alzin