Here is the Input Specification
The program has to read t lines of inputs. Each line consist of 2 space separated values first one is the name and second is the age. An Example of Input
Mike 18
Kevin 35
Angel 56
How to read this kind of input in python? If i use raw_input(), both name and age are read in the same variable.
Update I am going to respecify the question. We already know how to read formatted input in python. Is there a way we can read formatted input in Python or not? If yes then how?
For Python3: