The statement to import the standard mathematical function module is:
import math
Note: To use a function under a certain module, you must first introduce this module, otherwise it cannot be used normally.
The role of the import statement:
The import statement is used to import modules, and it can appear anywhere in the program.
The syntax of the import statement:
Use the import statement to import the module. The syntax of the import statement is as follows:
import module 关键字 模块名
Recommended tutorial: python tutorial
The above is the detailed content of What is the statement to import the Python standard mathematical function module?. For more information, please follow other related articles on the PHP Chinese website!