会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
帅帅的飞猪
All things are difficult before they are easy
博客园
首页
新随笔
联系
订阅
管理
2022年3月16日
python函数定义中的 : -> ()的用法说明
摘要: 问题一导入 1.pyecharts中看到了这样的写法 def values(start: int = 20, end: int = 150) -> list: return [random.randint(start, end) for _ in range(7)] 测试 : 和 -> 的用法 de
阅读全文
posted @ 2022-03-16 21:52 帅帅的飞猪
阅读(4476)
评论(0)
推荐(0)
公告