running this program in different ways illustrates how the list worksfor instanceterminal terminalpython print_cml py string with blanks ['print_cml py'' ''string''with''blanks'' 'terminalpython print_cml py "string with blanks ['print_cml py'' ''string with blanks'' 'we see from the second example thatif we want to read in string containing blanks as single command line argumentwe need to use quotation marks to override the default behavior of each word being treated as separate list element flexible user input with eval and exec generallythe safest way to handle input data in the form of text strings is to convert it to the specific variable type needed in the program we did this aboveusing the type conversions intand float)and we will see below how such conversions can be made failproof and handle imporper user input howeverpython also offers couple of more flexible functions to handle input datanamelyeval and execwhich are nice to know about extensive use of these functions is not recommendedespecially not in larger programssince the code can become messy and error-prone howeverthey offer some flexible and fun opportunities for handling input data starting with evalthis function simply takes string as input and evaluates it as regular python expressionjust as if it were written directly into the program of courses must be legal python expressionotherwise the code stops with an error message the following interactive python session illustrates how eval workss ' + eval(sr type(rr eval('[ [ ]' [ type(