Python编程 基础练习(四)
时间:2022-08-11 00:00:00
一同意一句话:在能力范围内给自己最好的生活
文章目录
-
-
-
- 1. 使用time库以格式输出系统当前时间信息
- 2. 使用turtle画奥运五环
- 3. 简单实现账户管理系统的功能,包括创建账户、存钱、取钱和退出系统
- 4. numpy数组操作
- 5. 蛇皮走位
- 6. 文件操作
-
-
1. 使用time库以格式输出系统当前时间信息
import locale import time # 2020年8月24日18时51秒以格式输出 # python time 'locale' codec can't encode character '\u5e74' in position 2: encoding error报错的解决方案 locale.s