Commit 7f84b609 by BellCodeEditor

auto save

parent 54dd00aa
Showing with 12 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(6)
print(result)
\ No newline at end of file
username='python'
userpassword='123456'
while True:
name=input('请输入用户名:')
password=input('请输入密码:')
if name==username and password==userpassword:
print('登陆成功')
break
print('cuowu')
print('zhengque')
\ 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