我已经尝试过使用它,但输出不是我想要的
m = [] import calendar for i in range(1, 13): m.append(calendar.month_name) print(m)
输出: [, , , , , , , , , , , ]
相关文章:
regex - 为电话号码编写正则表达式
github - 如何在两个句子之间添加 Git Readme 中的 Tab 空格?
git - 使用 git rev-parse 的错误提交哈希
.net-core - Cake Clean 任务在蛋糕构建时被跳过
r - 合并和删除*文件之间的冗余行
html - 将样式添加到 mat-autocomplete 的 mat-option
c++ - 如果 new 运算符失败,是否可以将指针设置为 null?
postgresql - 我想用 mikro-orm 插入,但它找不到我的表 :c (TableNo
reactjs - 配置多个下一个插件 : withMDX, withBundleAnalyzer
c++ - 为什么C++语言的malloc函数前面要写指针类型?