it can be observed that the first time when the program was executed the integer value corresponding to amount and decimal value corresponding to profit were printed in their respective formssince the type of input data was same as the functions used howeverwhen the functions were executed for the second timewe can see that the profit was given as an input of since the function used was floathencethe integer value was converted to float valuethereby printing float value of howevererror would have been generated if the amount was entered in decimal form because float value is not automatically converted to an integer form in python one of the most important operator is assignment operator (=that assign values from right side operands to left side operand will assign the value of to like any other programming languagepython also helps to compute the result in print statement as shown in the following program#program to do the calculation inside print statement =float(input("enter radius of circle")area= * * print("the area of circle using variable is",areaprint("the area of circle computed directly is" * *rin [ ]runfileenter radius of circle the area of circle using variable is the area of circle computed directly is explanationin the first case the user is prompted to enter the radius which is stored in variable "rthe area is computed and stored in variable named "areathe first print statement prints the answer from the variable "areaon the screen the second print statement does the calculation inside the print statement and prints the result both the ways of print statement hence prints the same result ( the user can decide amongst two ways depending on the requirement python provides distinct feature of taking input from the user using eval(function which considers the data type according to the nature of input provided the eval(function can also be used to convert string representing numeric expression into its evaluated numeric value this is demonstrated in the following program#program to take input from the user using eval(function var eval(input('enter the first value')print('var ='var type:'type(var )var eval(input('enter the second value')print('var ='var type:'type(var )var eval(input('enter the third value')print('var ='var type:'type(var )