摘要:
import turtle turtle.color('yellow') turtle.begin_fill() turtle.fillcolor('yellow') turtle.forward(300) turtle.left(144) turtle.forward(300) turtle.left(144) turtle.forward(300) turtle.left(144) turt... 阅读全文
posted @ 2017-09-07 18:47
ELsky
阅读(424)
评论(0)
推荐(0)
摘要:
import turtle turtle.forward(300) turtle.left(144) turtle.forward(300) turtle.left(144) turtle.forward(300) turtle.left(144) turtle.forward(300) turtle.left(144) turtle.forward(300) 阅读全文
posted @ 2017-09-07 18:46
ELsky
阅读(125)
评论(0)
推荐(0)
摘要:
import turtle turtle.circle(10) turtle.circle(20) turtle.circle(40) turtle.circle(80) 阅读全文
posted @ 2017-09-07 18:44
ELsky
阅读(261)
评论(0)
推荐(0)
摘要:
a=float(input('第一条边长:')) b=float(input('第2条边长:')) c=float(input('第3条边长:')) p=(a+b+c)/2 s=(p*(p-a)*(p-b)*(p-c))**0.5 print(s) 阅读全文
posted @ 2017-09-07 18:43
ELsky
阅读(3012)
评论(0)
推荐(0)
摘要:
r=float(input('半径:')) s=3.14*r*r print('面积是:',s) 阅读全文
posted @ 2017-09-07 18:43
ELsky
阅读(939)
评论(0)
推荐(0)
摘要:
print(float(input('第1个数:'))+float(input('第2个数:'))) 阅读全文
posted @ 2017-09-07 18:42
ELsky
阅读(860)
评论(0)
推荐(0)
摘要:
>>> name = input("name:") name:zhou >>> print("{}student,learn Python,furture!".format(name)) zhoustudent,learn Python,furture! >>> print("{}daxia,xuehaoPython,dazhanquanjiao! ".format(name[0])) zdax... 阅读全文
posted @ 2017-09-07 11:37
ELsky
阅读(216)
评论(0)
推荐(0)
摘要:
>>> print ("hello world") hello world >>> 阅读全文
posted @ 2017-09-07 11:29
ELsky
阅读(111)
评论(0)
推荐(0)

浙公网安备 33010602011771号