sscasc@tumkur creating python program input function the print function enables python program to display textual information to the user programs may use the input function to obtain information from the user the simplest use of the input function assigns string to variablex input(the parentheses are empty because the input function does not require any information to do its job usinginput py demonstrates that the input function produces string value exapledemonstrates that the input function print('please enter some text:' input(print('text entered:'xprint('type:'type( )since user input always requires message to the user about the expected inputthe input function optionally accepts string and prints just before the program stops to wait for the user to respond the statement variable input("enter value"the value entered is string you can use the function eval to evaluate and convert it to numeric value exampleeval(" "returns eval(" "returns examplecompute area with console input prompt the user to enter radius radius eval(input("enter value for radius")compute area area radius radius #display results print("the area for the circle of radius",radius,"is",areacompute average prompt the user to enter three numbers number eval(input("enter the first number")number eval(input("enter the second number")number eval(input("enter the third number")compute average average (number number number display result print("the average of"number number number ,"is",averageprint function the print line of textand then the cursor moves down to the next line so any future printing appears on the next line print('please enter an integer value:'the print statement accepts an additional argument that allows the cursor to remain on the same line as the printed textprint('please enter an integer value:'end='sp_python programming