摘要:
2. 用循环画同心圆 3.用while循环画太阳花 4.用函数定义画五个五角星 5. 用函数定义画钻石花瓣的太阳花 a.输入学号,识别年级、专业、序号。 b.输入1-7的数字,输出对应的“星期几”。 c.识别身份证号中的省市区、年龄、性别。 阅读全文
摘要:
import turtle for i in range(10): turtle.up() turtle.goto(0,-10*i) turtle.down() turtle.circle(10*i) from turtle import * fillcolor("yellow") begin_fill() while True: forwar... 阅读全文