登录后查看本帖详细内容!
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
3.1: a) 2.0; b) 0 ;c) 1.0 ;d) 1 ; e)1.0 ; f) 2.71; g) 4; h)2.5; i)-2; j)-3; k)4; l)—2; m)2.5; n)3; o)2; p)-2; q)3; r)2 3.2:对 3.3:Degree=radians(47) 3.4:Radians=degree(math.pi/7) 3.5:97、98、65、66,<,;,0,U,Z 3.6:显示\用\\,显示’’用\” 3.7:用\u和4个16位数显示 3.8:D 3.9:-25 3.10:错在字符和数字相加;改成title=‘chapter‘+’1‘ 3.11:5,’23’ 3.12:所有的数据都是对象;对象所用的函数称为方法。 3.13:id();type() 3.14:b 3.15全小写;全大写 3.16:Good Morning 3.17:格式化的字符串 3.18:按实际宽度输出 3.19: 57.468 12345678.9 57.40 57.40 3.20:5.747e+01 1.2e+07 5.74e+01 5.74e+01 3.21: 5789.468 5789.468 5789.40 5789.40 5789.40 3.22: 45.747% 45.747% 3.23: 45 45 2d 2d 3.24  rogramming is fun Programming isfun Programming is fun 3.25:当创建一个turtle时,初始位置点就在(0,0) 3.26:dot(3,‘red‘) 3.27:边长为100的正方形 3.28:speed(10) 3.29:undo() 3.30:turtle.color() 3.31:begin_fill() end_fill() 3.32:turrle.hideturtle()
|