Commit 1f3fccb5 by BellCodeEditor

auto save

parent 53278a7c
Showing with 12 additions and 11 deletions
""" input("请输入感冒指数")
请使用turtle模块画出五角星 if int(input)==[0,1,2,3,4,5,6]:
""" print("少发")
import turtle elif int(input)==[7,8,9,10,11,12,13,14,15,16,17,18,19]:
pen=turtle.Pen() print("较易发")
for i in range(5): elif int(input)==[20,21,22,23,24,25,26,27,28,29,30]:
pen.forward(100) print("易发")
pen.right(144) elif int(input)==[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61]:
pen.hideturtle() print("极易发")
turtle.done() else:
\ No newline at end of file print("指数值不正确")
\ 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