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