Commit e8c56a95 by BellCodeEditor

save project

parent c14f1937
Showing with 39 additions and 0 deletions
import turtle
for i in range(4):
turtle.forward(200)
turtle.right(90)
turtle.forward(100)
turtle.right(45)
turtle.forward(140)
turtle.right(45)
turtle.forward(140)
turtle.done()
\ No newline at end of file
s=100
j=float(input("请输入:"))
d=s/j
print("乌龟追上兔子的时间",round(d,2),"秒")
a=[99,88,94,99,99,98,95,92]
b=max(a)
\ No newline at end of file
# print(vars(int))
\ No newline at end of file
a=[]
a.append(4)
print(a)
a.insert(0,5)
print(a)
a.extend([4,6,5])
print(a)
a.remove(4)
#a.pop(2)
print(a)
print(a[1:4:2])
\ 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