看了一片文章(http://keleyi.com/a/bjac/nurox416.htm),是使用分型画树叶,代码是Java的,因为Java很久没弄了,改用C#实现,下载地址: 画树叶小程序下载 核心代码: public void PaintKeleyiLeaf(Graphics g) { Random k_r = new Random(); int i; , y = , r, u = ; ; i <= ; i++) { r = (); ) { x = ; y = . * y; } &&am…
[python]python 遍历一个list 的小例子: mlist=["aaa","bbb","ccc"]for ss in enumerate(mlist): print ss 验证一下运行结果: In [34]: mlist=["aaa","bbb","ccc"] In [35]: for ss in enumerate(mlist): ....: print ss ....:…