You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2.0 KiB

I tried to re/create my favorite twitter bot, il pleut

In [10]:
import random

width = 10
height = 10
drops = [',','    ','    ','     ']
rain = ''

for x in range(width):
    for y in range(height):
        rain += random.choice(drops)
    print(rain)
    rain = ''
,    ,,                  ,,
                              ,    ,
        ,            ,,         
                 ,                      
                              ,         
         ,     ,             ,     
             ,                            
     ,     ,                           
                                             
     ,             ,    ,        
In [ ]:
 
In [3]:
 
In [4]:
 
In [ ]: