Commit 3018d75b by BellCodeEditor

save project

parent 5ae137ec
Showing with 7 additions and 5 deletions
a=[1,2,3,4,7,8,9]
b=[1]
b.append(a[4:])
print(b)
\ No newline at end of file
a=["a",1,"b",4,"d",8,"c",6,"e",5]
name=input("名字")
power=input("臂力")
for i in range(len(a)):
if a(i)>=power and i%2==1:
a.insert(i,name)
\ 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