控制台基础设置
//隐藏光标
Console.CursorVisible false;
//通过两个变量来存储舞台的大小
int w 50;
int h 30;
//设置舞台(控制台)的大小
Console.SetWindowSize(w, h);
Console.SetBufferSize(w, h);多个场景
int nowSceneID 1;
while (true)
…
1.绘制奥运五环旗
#奥运五环的绘制
import turtle as t
t.pensize(3)
t.speed(0)
def draw_circles():i0while i <4:args [[-60,0,"blue"],[0,0,"black"],[60,0,"red"],[-30,-30,"yellow"],[30,-30,"green"]]#定义一个…