defined within module must be explicitly included in your program to use function or class from the standard libraryyou include an import statement at the top of your program for exampleto use function defined in the standard math moduleyou would include the statementfrom math import at the top of your program file the import statement loads the contents of the named module and makes all definitions within single module available for use in your python program for exampleafter importing the math modulewe can use the sqrt(functionwhich is defined in the moduley sqrtx you can import individual components of module and make them available within the current file usingfrom math import sqrt which includes the modulebut only makes the sqrt(function available for use in your program python has second variation to the import statement that works very much like the from/import versionimport math but in this casethe components defined in the module are loaded into their own namespace namespaces will be discussed in more detail later in this appendix for nowsimply note that after using this form of the import statementthe included components have to be referred to by both module name and component name and separated by doty math sqrtx user interaction user interaction is very common in computer programs in gui (graphical user interface)-based programsthe interaction is managed through widgets or controls displayed within windowed environment in text-based programsuser input originates from the keyboard and output is written to the terminal standard input in pythonthere is single function for extracting data from the user via the keyboard the input(function waits for the user to type sequence of characters followed by the enter key name input"what is your name