2017年9月13日

条件、循环、函数定义练习

摘要: 注意标准库的两种导入与使用方式,建议大家采用.的方式。 对前面的代码进行优化,用for,while,if,def实现: 画五角星 import turtle turtle.fillcolor("green") turtle.begin_fill() for i in range(5): turtle.forward (180) turtle.right(144) turtle.e... 阅读全文

posted @ 2017-09-13 17:46 079刘洁婷 阅读(129) 评论(1) 推荐(0) 编辑

导航