摘要:
from random import random from pandas import DataFrame from time import time class SportCompetitionAnalyze: def PrintInfo(self): ''' function: 打印程序的介绍 阅读全文
posted @ 2020-12-31 00:16
庞宇达
阅读(37)
评论(0)
推荐(0)
摘要:
import jieba txt = open("D:\\西游记.txt", "r", encoding='utf-8').read() words = jieba.lcut(txt) # 使用精确模式对文本进行分词 counts = {} # 通过键值对的形式存储词语及其出现的次数 for wor 阅读全文
posted @ 2020-12-31 00:15
庞宇达
阅读(59)
评论(0)
推荐(0)
摘要:
import requests for i in range (20): print("第",i+1,"次访问") r=requests.get("https://www.google.cn/") r.encoding='utf-8' print("返回状态:",r.status_code) pri 阅读全文
posted @ 2020-12-31 00:14
庞宇达
阅读(59)
评论(0)
推荐(0)
摘要:
#第一种 print("小明,10岁,男,上山去砍柴") print("小明,10岁,男,开车去东北") print("小明,10岁,男,最爱打游戏") print("\n") print("老李,90岁,男,上山去砍柴") print("老李,90岁,男,开车去东北") print("老李,90岁 阅读全文
posted @ 2020-12-31 00:08
庞宇达
阅读(49)
评论(0)
推荐(0)
摘要:
import time import turtle as tt def drawGap(): tt.penup() tt.fd(5) def drawLine(draw): drawGap() if(draw): tt.pendown() else: tt.penup() tt.fd(50) dra 阅读全文
posted @ 2020-12-31 00:07
庞宇达
阅读(56)
评论(0)
推荐(0)
摘要:
n=eval(input()) list1=[] for i in range(0,n): list1.append(i) list1[i]=eval(input()) if list1[i]%2!=0 or list1[i]==0: print(0,0) elif list1[i]==2: pri 阅读全文
posted @ 2020-12-31 00:05
庞宇达
阅读(70)
评论(0)
推荐(0)
浙公网安备 33010602011771号