[ prog / sol / mona ]

prog


The Forced Indentation Of Code

95 2022-05-19 10:27

upgrade of >>9 with a coordinate painter

>>> print ((lambda mY, xjoin, index, symbol, pad, n, cell, chars, E: (lambda cycle, xjoin: (lambda expand: (lambda z, chars: (lambda symbol: xjoin (n, lambda k: xjoin (2 * n - 1, lambda j: symbol (k, j), pad), '\n')) (lambda k, j: symbol (cell, chars, z, index (cycle, n, k, j)))) (expand (E, cell), expand (chars, cell))) (lambda chars, n: xjoin (n * len (chars), lambda x: chars [x // n], ''))) (len (chars), mY (xjoin))) (lambda f, *more: (lambda x: x (x)) (lambda y: f (lambda *args: y (y) (*args), *more)), lambda f: lambda n, g, s: '' if n <= 0 else g (0) if n == 1 else f (n - 1, g, s) + s + g (n - 1), lambda cycle, n, k, j: (lambda j: -1 if j > k else min (k - j, n - 1 - k) % cycle) (abs (n - 1 - j)), (lambda extract: lambda cell, chars, z, index: z if index < 0 else extract (chars, cell * index, cell)) (lambda s, pos, len: s [pos : pos + len]), " ", 14, 2, "█▓▒░ ░▒▓", " "))
                                       ██                                       
                                    ██ ▓▓ ██                                    
                                 ██ ▓▓ ▒▒ ▓▓ ██                                 
                              ██ ▓▓ ▒▒ ░░ ▒▒ ▓▓ ██                              
                           ██ ▓▓ ▒▒ ░░    ░░ ▒▒ ▓▓ ██                           
                        ██ ▓▓ ▒▒ ░░    ░░    ░░ ▒▒ ▓▓ ██                        
                     ██ ▓▓ ▒▒ ░░    ░░ ▒▒ ░░    ░░ ▒▒ ▓▓ ██                     
                  ██ ▓▓ ▒▒ ░░    ░░ ▒▒ ▒▒ ▒▒ ░░    ░░ ▒▒ ▓▓ ██                  
               ██ ▓▓ ▒▒ ░░    ░░ ░░ ░░ ░░ ░░ ░░ ░░    ░░ ▒▒ ▓▓ ██               
            ██ ▓▓ ▒▒ ░░                                  ░░ ▒▒ ▓▓ ██            
         ██ ▓▓ ▒▒ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ▒▒ ▓▓ ██         
      ██ ▓▓ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▓▓ ██      
   ██ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ██   
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
>>> 

larger version with colors: http://paste.textboard.org/8a443841/raw

267


VIP:

do not edit these