In this program:-
- For taking input the readline() function is used.
- The prompt argument defines the message to be shown to the user.
- The value entered by the user for the name and age are stored into the variables named name and age.
- The cat() function is used to write the message to the standard output of the Shell, in this context meaning the input recorded by the user.