Commit f0715622 by BellCodeEditor

save project

parent 804a79c3
Showing with 40 additions and 3 deletions
s=1
k=1
while(k==8):
s+=k
k+=1
print(s)
\ No newline at end of file
n = int(input("请输入奶牛的个数:"))
print(n,"头奶牛7天可以产",n*20*7,"的千克奶牛")
\ No newline at end of file
import turtle
turtle.speed(1)
turtle.up()
turtle.goto(-100,100)
turtle.down()
turtle.forward(200)
turtle.right(90)
turtle.forward(200)
turtle.right(90)
turtle.forward(200)
turtle.right(90)
turtle.forward(200)
turtle.right(90)
turtle.forward(100)
turtle.up()
turtle.right(90)
turtle.forward(150)
turtle.left(90)
turtle.down()
turtle.begin_fill()
turtle.circle(50)
turtle.fillcolor("blue")
turtle.end_fill()
turtle.clearscreen
turtle.done()
\ No newline at end of file
name = input("你叫什么名字?")
print(name+"你好呀!")
\ No newline at end of file
a = int(input("输入一个三位整数:"))
print("百:",a//100%10,"十:",a//10%10,"个:",a%10)
\ 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