Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = ['a','b','c']
- (1..10).each {|n|
- print a.repeated_combination(n).to_a
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement