English
全部
搜索
图片
视频
地图
资讯
Copilot
更多
购物
航班
旅游
笔记本
Top stories
Sports
U.S.
Local
World
Science
Technology
Entertainment
Business
More
Politics
时间不限
过去 1 小时
过去 24 小时
过去 7 天
过去 30 天
最新
最佳匹配
GitHub
10月
二、模块的使用
Python 模块的使用跟其他编程语言也是类似的。你要使用某个模块,在使用之前,必须要导入这个模块。导入模块我们使用关键字 import。 比如我们使用标准库模块中的 math 模块。当解释器遇到 import 语句,如果模块在当前的搜索路径就会被导入。 #!/usr/bin/env python3 ...
GitHub
1 年
六、Python 中的变量
在 Python 程序中,变量是用一个变量名表示,可以是任意数据类型,变量名必须是大小写英文、数字和下划线(_)的组合,且不能用数字开头,比如: 这里的 `a` 就是一个变量,代表一个整数,注意一点是 Python 是不用声明数据类型的。在 Python 中 `=` 是赋值语句 ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果
今日热点
Indicted on federal charges
Trump: US will run Venezuela
Breaks silence amid charges
'Super tusker' elephant dies
California's open carry ban
Caribbean flights to resume
Comes out of retirement
Wisconsin judge resigns
Bar managers under probe
Iran’s leader on protests
Reveals rare health diagnosis
Arizona helicopter crash
Body of missing boy found
Massive blaze in Denver
Faces drug charges
Carted off with leg injury
Search on after boat strike
Blocks HieFo chip deal
Parachutist crash lands
BTS announces comeback
Texans CB to miss finale
To miss Palm Springs gala
NK fires ballistic missiles
Breaks NBA record
SK president visits China
Warriors' Green ejected again
Back in UK after crash
Sets Big Ten assists record
Over 6.1K prisoners freed
Broadway actor dies
Clinch NFC’s No. 1 seed
Suspected IS site bombed
Nigeria village attack
Greece airspace disrupted
Agree to 3-yr extension?
Flu cases hit record in NY
反馈