摘要: # -*- coding: utf-8 -*-"""Created on Tue Jun 9 11:18:48 2020 @author: 13549""" from random import random#第一阶段def printIntro(): print("模拟两个选手A和B的羽毛球比赛" 阅读全文
posted @ 2021-12-11 21:14 必杀技welllee 阅读(67) 评论(0) 推荐(0)
摘要: #! python3# -*- coding: utf-8 -*-import os, codecsimport jiebafrom collections import Counter def get_words(txt): seg_list = jieba.cut(txt) c = Counte 阅读全文
posted @ 2021-12-11 21:11 必杀技welllee 阅读(66) 评论(0) 推荐(0)
摘要: import os class Student(object): def __init__(self, sid, name, grade=None): self.sid = sid self.name = name self.grade = grade def __str__(self): retu 阅读全文
posted @ 2021-12-11 20:35 必杀技welllee 阅读(68) 评论(0) 推荐(0)