Answers for "reading any number of lines of data"

1

reading any number of lines of data

try: 
	while True: 
		inp = raw_input() 
		if inp != "": 
			# Stuff to be done 
		else: 
			break 
except EOFError: 
	pass
Posted by: Guest on April-30-2021

Code answers related to "reading any number of lines of data"

Browse Popular Code Answers by Language