会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
新祁
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
2021年11月28日
终端输出
摘要: def kanchai(name, age, gender): print("%s,%s岁,%s,上山去砍柴" %(name, age, gender)) def qudongbei(name, age, gender): print("%s,%s岁,%s,开车去东北" %(name, age, g
阅读全文
posted @ 2021-11-28 16:49 新祁
阅读(31)
评论(0)
推荐(0)
2021年11月14日
读书报告
摘要: numpy、scipy、pandas、matplotlib的读书报告: Numpy: 来存储和处理大型矩阵,比Python自身的嵌套列表(nested list structure)结构要高效的多,本身是由C语言开发。这个是很基础的扩展,其余的扩展都是以此为基础。数据结构为ndarray,一般有三种
阅读全文
posted @ 2021-11-14 00:17 新祁
阅读(45)
评论(0)
推荐(0)
模拟体育竞技分析——乒乓球比赛规则
摘要: from random import random # 打印程序介绍信息def printIntro(): print("信计52号进行比赛分析结果:") print("这是团体赛模拟程序:") # 获得程序运行参数def getInputs(): a = eval(input("请输入队伍A的能力
阅读全文
posted @ 2021-11-14 00:09 新祁
阅读(102)
评论(0)
推荐(0)
2021年10月23日
7段数码管绘制
摘要: import turtle, datetimedef drawGap(): # 绘制数码管间隔 turtle.penup() turtle.fd(5) def drawLine(draw): # 绘制单段数码管 drawGap() turtle.pendown() if draw else turt
阅读全文
posted @ 2021-10-23 23:19 新祁
阅读(37)
评论(0)
推荐(0)
2021年10月16日
用python计算圆周率PI
摘要: import mathimport timescale=10print("执行开始")t=time.process_time()for i in range(scale+1): a,b='**'*i,'..'*(scale-i) c=(i/scale)*100 pi=4*(4*math.atan(1
阅读全文
posted @ 2021-10-16 23:08 新祁
阅读(188)
评论(0)
推荐(0)
2021年9月13日
2.6.2
摘要: 03 money_all=56.75+72.91+88.50+26.37+68.51money_all_str=str(money_all)print("商品总金额为:"+money_all_str)money_real=int(money_all)money_real_str=str(money_
阅读全文
posted @ 2021-09-13 20:28 新祁
阅读(59)
评论(0)
推荐(0)
2021年9月5日
植物大战僵尸.石头怪
摘要:
阅读全文
posted @ 2021-09-05 12:23 新祁
阅读(15)
评论(0)
推荐(0)
上一页
1
2
公告