Commit 16e3077f by BellCodeEditor

auto save

parent e8c71a40
Showing with 29 additions and 0 deletions
import turtle
turtle.penup()
turtle.goto(0,-100)
turtle.pendown()
turtle.pencolor("red")
turtle.pensize(2)
turtle.circle(100)
turtle.goto(0,100)
turtle.penup()
turtle.goto(-100,0)
turtle.pendown()
turtle.goto(100,0)
turtle.hideturtle()
turtle.done()
\ No newline at end of file
a=input("请输入奶牛的头数:")
b=int(a)*20*7
print("奶牛的头数赋值为:",a)
print(a,"头奶牛7天可以产",b,"千克的牛奶")
\ No newline at end of file
a=[3,6,9]
c=input("请输入b列表为")
b=[c]
a=input("请输入一串数字")
b=[a]
len(b)
print(b)
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