Commit fb11c32f by BellCodeEditor

auto save

parent a8392f66
Showing with 10 additions and 12 deletions
""" count=0
请使用turtle模块画出五角星 1 = [10,8,5,3,27,99]
""" for i in l:
import turtle a =i%2
open=turtle.pen() if a==0:
For i in range(5) count=i//2+count
pen.forward(200) else:
pen.right(144) count=i//2+count+1
pen.hideturtle() print("最少()次拿完",format(count))
pen.done() \ No newline at end of file
\ 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