摘要:
from turtle import * def square(size=50, rgb = 'orange'): pencolor(rgb) for i in range(4): fd(size) left(90) def main(): setup(800, 600) speed(0) for 阅读全文
摘要:
#一、实验任务1 #基础操作练习1:格式控制、列表解析、类型转换 x = list(range(10)) print('整数输出1:',end = '') for i in x : print(i,end=' ') print('整数输出2:',end='') for i in x : print( 阅读全文