enter your namejohn yaya name 'john yayaexecuting the input statement caused python to print out the prompt "enter your name:and then the interpreter paused waiting for user input in this examplei typed john yaya as resultthe string 'john yayais remembered in the variable name evaluating name gives back the string of characters that typed when the user input is numberwe need slightly more complicated form of input statementeval(input()here 've added another built-in python function eval that is "wrapped aroundthe input function as you might guesseval is short for "evaluate in this formthe text typed by the user is evaluated as an expression to produce the value that is stored into the variable sofor examplethe string " becomes the number if you look back at the example programs so faryou'll see couple examples where we've gotten numbers from the user like this eval(input("please enter number between and ")celsius eval(input("what is the celsius temperature")the important thing to remember is that you need to eval the input when you want number instead of some raw text ( stringif you are reading the example programs carefullyyou probably noticed the blank space inside the quotes at the end of all these prompts usually put space at the end of prompt so that the input that the user types does not start right next to the prompt putting space in makes the interaction easier to read and understand although our numeric examples specifically prompted the user to enter numberwhat the user types in this case is just numeric literal-- simple python expression in factany valid expression would be just as acceptable consider the following interaction with the python interpreterans eval(input("enter an expression")enter an expression print(ans herewhen prompted to enter an expressionthe user typed " python evaluated this expression (via evaland assigned the value to the variable ans when printedwe see that ans got the value as expected in sensethe input-eval combination is like delayed expression the example interaction produced exactly the same result as if we had simply written ans the difference is that the expression was supplied by the user at the time the statement was executed instead of being determined when the statement was written by the programmer thusthe user can supply formulas for program to evaluate