飞行的猪哼哼

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2020年7月11日

摘要: #:面向对象# 类名:使用大驼峰命名法# 1:定义一个基本类class People(object): def sing(se... 阅读全文
posted @ 2020-07-11 18:33 飞行的猪哼哼 阅读(34) 评论(0) 推荐(0)

摘要: # 1:文件:写入数据file = open("1.txt", "w", encoding="utf-8")file.write("... 阅读全文
posted @ 2020-07-11 08:36 飞行的猪哼哼 阅读(39) 评论(0) 推荐(0)