摘要: # coding=utf-8import string"""输入一行字符,分别统计出其中英文字母、空格、数字和其它字符的个数。"""strInput = input("please input the string:")letters = 0spaces = 0digits = 0others =  阅读全文
posted @ 2019-09-12 11:11 雪瞳 阅读(146) 评论(0) 推荐(0) 编辑
摘要: #coding=utf-8PETS = [] # 宠物列表def addPet(): petId = input("请输入宠物编号:") petName = input("请输入宠物名称:") petCategory = input("请输入宠物的种类:") petPrice = input("请输 阅读全文
posted @ 2019-09-12 09:05 雪瞳 阅读(393) 评论(0) 推荐(0) 编辑