摘要:
from random import random # 打印程序介绍信息 def printIntro(): print("应统02号刘颖进行比赛分析结果:") print("这是团体赛模拟程序:") # 获得程序运行参数 def getInputs(): a = eval(input("请输入队伍 阅读全文
摘要:
import jieba txt = open("D:\\浏览器下载\\西游记.txt","r",encoding = "utf-8").read() #打开文本 words = jieba.lcut(txt) #分词 counts = {} for word in words: if len(wo 阅读全文
摘要:
rmin=eval(input()) number=eval(input()) color=input() import turtle as t t.pencolor(color) t.pensize(4) for i in range (number): t.circle(rmin) rmin=r 阅读全文
摘要:
import turtle turtle.speed(30) turtle.penup() off = True for y in range(-40, 30 + 1, 10): for x in range(-40, 30 + 1, 10): if off: turtle.goto(x, y) t 阅读全文