摘要:
# -*- coding: utf-8 -*- """ Created on Tue Jun 9 11:18:48 2020 @author: 13549 """ from random import random #第一阶段 def printIntro(): print("模拟两个选手A和B的羽 阅读全文
摘要:
import jieba txt = open("聊斋志异.txt", "r", encoding='utf-8').read() words = jieba.lcut(txt) counts = {} for word in words: if len(word) == 1: continue e 阅读全文
摘要:
import math import time scale=10 print("执行开始") t=time.process_time() for i in range(scale+1): a,b='**'*i,'..'*(scale-i) c=(i/scale)*100 π=4*(4*math.at 阅读全文
摘要:
import turtle >>> turtle.setup(600,500) >>> turtle.fillcolor('green') >>> turtle.pensize(5) >>> turtle.begin_fill() >>> turtle.seth(30) >>> for i in r 阅读全文