Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def repeat(a, n):
- def rep(a, c):
- if c > 0:
- print(a)
- rep(a, c - 1)
- rep(a * n, n)
- repeat('ala', 2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement