摘要:
import jieba txt = open("西游记.txt", "r", encoding='utf-8').read()words = jieba.lcut(txt) counts = {} for word in words: if len(word) == 1: continue eli 阅读全文
摘要:
from random import randomfrom math import sqrtimport timeDARTS=10**7hits=0.0a=1start=time.perf_counter()for i in range(1,DARTS+1): x,y=random(),random 阅读全文