]
},
{
"cell_type": "markdown",
"id": "8778c0a1",
"metadata": {},
"source": [
"## 0.导入库模块"
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "f20eb002",
"metadata": {},
"outputs": [],
"source": [
"#import turtle #导入turtle函图库,其方法前面一定要添加库名turtle\n",
"from turtle import * #导入turtle库,其方法前面一定不能添加库名\n",
"from random import * #导入random库,其方法前面一定不能添加库名\n",
"import time #导入time库,其方法前面一定要添加库名time"
]
},
{
"cell_type": "markdown",
"id": "461adf10",
"metadata": {},
"source": [
案例分析:绘制七段电子数码管时间
最新推荐文章于 2024-08-26 18:56:03 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)