Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def F(n):
- if n > 0:
- F(n - 3)
- print(n)
- F(n // 3)
- print(F(9))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement