摘要: 如图,刷微博时,看到一个问题,第一个想到的就是用蒙特卡洛方法求解,当时正在练python,于是尝试用python编写程序。 阅读全文
posted @ 2018-09-06 20:14 西柚汁 阅读(4156) 评论(0) 推荐(0)
摘要: 下面是练习42,基于python3 阅读全文
posted @ 2018-09-06 19:58 西柚汁 阅读(766) 评论(0) 推荐(0)
摘要: 下面是练习41,基于python3 阅读全文
posted @ 2018-09-06 19:57 西柚汁 阅读(1121) 评论(0) 推荐(0)
摘要: 练习37 1、Keywords(关键字) anddel fromnotwhileaselifglobal orwithassert elseifpass yield break except importprintclass exec inraise continue finally is retu 阅读全文
posted @ 2018-09-06 19:54 西柚汁 阅读(280) 评论(0) 推荐(0)
摘要: 下面是练习39-练习40,基于python3 阅读全文
posted @ 2018-09-06 19:53 西柚汁 阅读(675) 评论(0) 推荐(0)
摘要: 下面是练习31-练习35,基于python3 阅读全文
posted @ 2018-09-06 19:43 西柚汁 阅读(481) 评论(0) 推荐(0)
摘要: 下面是练习21-30,基于python3 阅读全文
posted @ 2018-09-06 19:37 西柚汁 阅读(423) 评论(0) 推荐(0)
摘要: 附ex15_sample:This is stuff I typed into a file.It is really cool stuff.Lots and lots of fun to have in here. 阅读全文
posted @ 2018-09-06 19:33 西柚汁 阅读(404) 评论(0) 推荐(0)
摘要: 下面是当初看这本书时按照书中的代码做的练习,一行一行敲下来的,都已经试运行过,没有错误(基于python3),练习1-练习10 #ex1.py 1 #print("Hello world!") 2 print("Hello again") 3 print("I like typing this.") 4 print("This is fun.") 5 print('Yay!Printing.'... 阅读全文
posted @ 2018-09-06 19:24 西柚汁 阅读(369) 评论(0) 推荐(0)
摘要: 题记:一直在写各种sql查询语句,最长的有一百多行,自信什么需求都可以接,可。。。。。。,想了想,可能一直在固定的场景下写,平时也是以满足实际需求为目的,竟不知道应试的题都是怎么出的,又应该怎么做。遂找来一些笔试题来练习。 有四张表如下格式存储: --1、查询“001”课程比“002”课程成绩高的所 阅读全文
posted @ 2018-08-31 22:24 西柚汁 阅读(1667) 评论(0) 推荐(0)