- 博客(1)
- 收藏
- 关注
原创 Python函数定义以及函数调用,代码复用之函数递归
一、函数定义及函数调用函数定义:函数名(<参数>)参数可以没有,也可以有一个或者多个以b站python视频中七段数码管的绘制的方向图示:本实例通过使用turtle库在turtle库中的画布中绘制:import timeimport turtledef drawgap():turtle.penup()turtle.fd(10)def drawline(draw):drawgap()turtle.pendown()if dr...
2022-03-27 11:12:27
1498
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人