摘要: #简单def narcissus(): for n in range(100, 1000, 1): a, b, c = n//100, (n//10)%10, (n%100)%10 if a ** 3 + b ** 3 + c ** 3 == n: print(n)#使用yield写法def nar 阅读全文
posted @ 2019-01-15 16:01 飞奔的小菜鸟 阅读(1425) 评论(0) 推荐(0) 编辑
摘要: # -*- coding:utf-8 -*-#!/usr/bin/env pythonimport osfrom reportlab.lib.pagesizes import A4, landscapefrom reportlab.pdfgen import canvasfrom tkinter i 阅读全文
posted @ 2019-06-13 16:33 飞奔的小菜鸟 阅读(10747) 评论(0) 推荐(1) 编辑
摘要: 阅读全文
posted @ 2018-09-27 13:55 飞奔的小菜鸟 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-09-27 13:52 飞奔的小菜鸟 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-09-26 12:45 飞奔的小菜鸟 阅读(141) 评论(0) 推荐(0) 编辑