@anonymous/GlassRecursiveRedundancy
Python

No description

Files
  • main.py
main.py
cats = ['boots', 'cheeky', 'kitsu', 'darla', 'snowberry', 'willow', 'lala']

for x1 in range(0, len(cats)-1):
    for x2 in cats[x1]:
        cats.append([x2])

def print_cats(cats):
    for cat in cats:
        print cat,
        print " ".join(cat),
        print
        
print_cats(cats)
Python 2.7.10 (default, Jul 14 2015, 19:46:27) [GCC 4.8.2] on linux