What is the statement to import the Python standard mathematical function module?

王林
Release: 2020-06-15 10:10:56
Original
4543 people have browsed it

What is the statement to import the Python standard mathematical function module?

The statement to import the standard mathematical function module is:

import math
Copy after login

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 关键字 模块名
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!