Commit d7d60fb5 by BellCodeEditor

save project

parent cbd4e3e6
Showing with 10 additions and 5 deletions
print(2**29)
\ No newline at end of file
def p(n): def p(n):
if n==10: if n==1:
return 1 return 1
num=(p(n+1)+1)*2 num=(p(n-1)*2)
return num return num
p_num=p(1) p_num=p(15)
print(p_num)
\ No newline at end of file if p_num>=10000:
print(p_num)
\ 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