English
全部
搜索
图片
视频
地图
资讯
Copilot
更多
购物
航班
旅游
笔记本
Top stories
Sports
U.S.
Local
World
Science
Technology
Entertainment
Business
More
Politics
时间不限
过去 1 小时
过去 24 小时
过去 7 天
过去 30 天
最新
最佳匹配
GitHub
11月
二、模块的使用
Python 模块的使用跟其他编程语言也是类似的。你要使用某个模块,在使用之前,必须要导入这个模块。导入模块我们使用关键字 import。 比如我们使用标准库模块中的 math 模块。当解释器遇到 import 语句,如果模块在当前的搜索路径就会被导入。 #!/usr/bin/env python3 ...
GitHub
1 年
六、Python 中的变量
在 Python 程序中,变量是用一个变量名表示,可以是任意数据类型,变量名必须是大小写英文、数字和下划线(_)的组合,且不能用数字开头,比如: 这里的 `a` 就是一个变量,代表一个整数,注意一点是 Python 是不用声明数据类型的。在 Python 中 `=` 是赋值语句 ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果
今日热点
New ICE shooting video
Economy added 50K jobs
Iran cuts internet access
Suspended 80 games
Blocked from freezing funds
Prolific Broadway actor dies
Argentina has repaid US
Signs 3 nuclear power deals
Philippines landfill collapse
Judge dismisses lawsuit
Jan. 6 plaque to be displayed
CA completely drought-free
Released from prison early
Richard Dimitri dies
US to provide $45M in aid
NYPD kills man in hospital
Winter storm hits UK, France
To build $20B data center
Returns to federal court
Trump on land drug cartels
US seizes fifth oil tanker
Strikes deal w/ White House
RU hits UKR w/ new missile
Prosecutors summon owners
To meet big oil executives
Syria announces ceasefire
Restricts image generation
Woman killed in shark attack
2026 PGA nominees
SC measles outbreak
Pushes crackdown on fraud
US delegation in Venezuela
NCAA denies waiver request
反馈