摘要: import wx class MyFrame(wx.Frame): def __init__(self,parent,id): wx.Frame.__init__(self,parent,id,title="班级信息收集程序",size=(600,400)) pl = wx.Panel(self) 阅读全文
posted @ 2021-12-11 23:09 又双叒叕萤 阅读(51) 评论(0) 推荐(0)
摘要: 1、Numpy NumPy(Numerical Python) 是 Python 语言的一个扩展程序库,支持大量的维度数组与矩阵运算,此外也针对数组运算提供大量的数学函数库。 NumPy 是一个运行速度非常快的数学库,主要用于数组计算,包含: 一个强大的N维数组对象 ndarray。 广播功能函数。 阅读全文
posted @ 2021-11-14 11:46 又双叒叕萤 阅读(32) 评论(0) 推荐(0)
摘要: import jiebaf=open("红楼梦.txt","r",encoding="utf-8")txt=f.read()f.close()words=jieba.lcut(txt)counts={}for word in words: if len(word)==1: continue else 阅读全文
posted @ 2021-11-14 01:12 又双叒叕萤 阅读(65) 评论(0) 推荐(0)
摘要: #第一题money_all=56.75+72.91+88.50+26.37+68.51 #3016 money_all_str=str(money_all) print("商品总金额为:"+money_all_str) money_real=int(money_all) money_real_str 阅读全文
posted @ 2021-09-15 00:32 又双叒叕萤 阅读(50) 评论(0) 推荐(0)
摘要: 在大一期间,学校开展了c语言的课程,这是我第一次接触编程。最初得知即将学习python时,心中是有点惶惶不安的,担心自己无法顺利掌握这门语言。好在,经过第一周的课程,我对python有了一个模糊的印象,也对自己能将这门语言掌握透彻有了一定的信心。希望在未来,我能够拥有熟练使用python的能力。 并 阅读全文
posted @ 2021-09-06 00:38 又双叒叕萤 阅读(1431) 评论(0) 推荐(0)
摘要: 绘制《植物大战僵尸》石头怪: print(" * * * * *\n * *\n* @ @ *\n* *\n* @ *\n* *\n * *\n * *\n * * * * *")#双3016 运行结果: 阅读全文
posted @ 2021-09-06 00:14 又双叒叕萤 阅读(55) 评论(0) 推荐(0)