Commit aa568722 by BellCodeEditor

save project

parent b4825be3
Showing with 8 additions and 15 deletions
import turtle
pen = turtle.Turtle()
pen.color('sienna')
# 画布大小
w = turtle.Screen()
w.bgcolor('wheat') # wheat小麦
# 移动到起点
pen.left(90)
pen.up()
pen.backward(150) # 后退
pen.down()
turtle.done()
score = {"语文":89,"数学":95,"英语":80}
def get_averang(score):
score = 0
for subject,score in score.items():
score += score
print("现在的总分是%d"%score)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment