小新不懂忧伤

[置顶] 一束玫瑰

摘要: def rose(x,y): import turtle turtle.setup(0.5,0.5,300,100) turtle.penup() turtle.goto(x,y+100) turtle.seth(0) turtle.begin_fill() turtle.fillcolor("red") turtle.p... 阅读全文

posted @ 2017-10-25 17:53 小新不懂忧伤 阅读(141) 评论(1) 推荐(1) 编辑

2017年10月22日

玫瑰绘制(结对作业)

摘要: import turtle turtle.setup(0.5,0.5,300,100) turtle.penup() turtle.goto(0,100) turtle.begin_fill() turtle.fillcolor("red") turtle.pendown() turtle.circle(5,180) turtle.speed(9) turtle.circle(20,70) t... 阅读全文

posted @ 2017-10-22 21:55 小新不懂忧伤 阅读(153) 评论(0) 推荐(0) 编辑

玫瑰(结对作业)

摘要: import turtle turtle.setup(0.5,0.5,300,100) turtle.penup() turtle.goto(0,100) turtle.begin_fill() turtle.fillcolor("red") turtle.pendown() turtle.circle(5,180) turtle.speed(9) turtle.circle(20,70) t... 阅读全文

posted @ 2017-10-22 21:21 小新不懂忧伤 阅读(93) 评论(0) 推荐(0) 编辑

2017年10月19日

羊车门问题

摘要: 1.我认为几率没有发生变化。 2.认真分析后我还是觉得几率没有发生变化。理由如下:因为有两扇门后有羊,选择后主 持人 都会开启一扇有羊的门,与你的选择是无关的。 3.验证的结果支持了我的想法。 4.代码如下: import random x=eval(input("请输入模拟次数:")) car = 阅读全文

posted @ 2017-10-19 19:25 小新不懂忧伤 阅读(144) 评论(0) 推荐(0) 编辑

2017年9月21日

开始python语言学习之旅

摘要: 上学期刚刚学完C语言,虽然对编程挺感兴趣的,能自己编写程序来解决问题,想想就兴奋。可是学完了一学期的C语言发现自己会的只是一点点,更不用说自己编写程序来解决问题。不过学了python还没两周我就可以画出几何图形,还可以控制电脑让它给我播放音乐,毫无疑问我已经被python深深吸引了。为了更好的学习这 阅读全文

posted @ 2017-09-21 19:39 小新不懂忧伤 阅读(115) 评论(0) 推荐(0) 编辑

2017年9月14日

开通博客第一天!

摘要: 第一次用上了高大上的博客,感觉很开心,今天刚好python有作业,做了好久终于做完了,相信努力就会成功,加油。 阅读全文

posted @ 2017-09-14 20:07 小新不懂忧伤 阅读(96) 评论(3) 推荐(0) 编辑

导航