Fork me on GitHub
摘要: import jiebatxt = open("D:\pycharm\python123\jieba分词作业\红楼梦.txt","r",encoding = 'utf-8').read()words = jieba.lcut(txt) #精确模式进行分词count = {} #创建空字典for wo 阅读全文
posted @ 2021-11-14 11:22 ゆずりはいのり 阅读(85) 评论(0) 推荐(0)
摘要: import timedef popspace(): t.penup() t.fd(5)def popline(draw): popspace() t.pendown() if draw else t.penup() t.fd(40) popspace() t.right(90)def popsta 阅读全文
posted @ 2021-10-24 11:57 ゆずりはいのり 阅读(165) 评论(0) 推荐(0)
摘要: import mathimport timescale=10print("执行开始")t=time.process_time()for i in range(scale+1): a,b='**'*i,'..'*(scale-i) c=(i/scale)*100 π=4*(4*math.atan(1/ 阅读全文
posted @ 2021-10-17 11:47 ゆずりはいのり 阅读(42) 评论(0) 推荐(0)
摘要: 【03】运行超市抹零结账行为‪‬‪‬‪‬‪‬‪‬‮‬‫‬‮‬‪‬‪‬‪‬‪‬‪‬‮‬‫‬‮‬‪‬‪‬‪‬‪‬‪‬‮‬‫‬‭‬‪‬‪‬‪‬‪‬‪‬‮‬‪‬‭‬‪‬‪‬‪‬‪‬‪‬‮‬‫‬‭‬‪‬‪‬‪‬‪‬‪‬‮‬‪‬‭‬ money_all = 56.75 +72.91 + 88.50 +26.37 阅读全文
posted @ 2021-09-13 20:29 ゆずりはいのり 阅读(48) 评论(0) 推荐(0)
摘要: print("人生苦短,我用python") 阅读全文
posted @ 2021-09-05 21:50 ゆずりはいのり 阅读(18) 评论(0) 推荐(0)
摘要: print("\n * * * * *\n * *\n* @ @ *\n* *\n* @ *\n* *\n * *\n * *\n * * * * *\n 3104") 阅读全文
posted @ 2021-09-05 21:46 ゆずりはいのり 阅读(50) 评论(0) 推荐(0)
1