Commit b92d4322 by BellCodeEditor

save project

parent 1e9a5f1c
Showing with 7 additions and 9 deletions
def func(n):
if n<=2:
return 1
elif n>2:
value = func(n-1)+func(n-2)
return value
result = func(20)
print(result)
b=['袁术','夏侯墩','曹操','关羽']
b.remove('关羽')
a=['华雄']
a.append('关羽')
print(a)
c=['颜良','文丑']
a.extend()
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