摘要: 原题链接:http://www.runoob.com/python/python-exercise-example11.html 题目:古典问题:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第三个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少? 分析:看起来挺复杂的 阅读全文
posted @ 2018-05-29 11:28 Drifter_y 阅读(1242) 评论(0) 推荐(0) 编辑
摘要: 第10天了,今天的题目跟009类似,都比较水,有时间的话再做一道~ 链接:http://www.runoob.com/python/python-exercise-example10.html 题目:暂停一秒输出,并格式化当前时间。 不会做,直接看答案: 思考: Python time strfti 阅读全文
posted @ 2018-05-29 10:27 Drifter_y 阅读(1142) 评论(0) 推荐(0) 编辑