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@_"@ ^2 A"?"?1#A"_?0*_0*_?/+_/+^?/+?0,?/+^?/+_/+^?/+@/,?/*^?0' coul=64,173,255 fill_rect(0,0,320,222,(64,)*3) def aff(f, s, t = .1): p=0 for i,v in enumerate(f): n=ord(v) if n<62:c,u=0,n-31 elif n<93:c,u=1,n-62 else:c,u=2,n-93 for _ in range(u): x=85+5*(p%30) if s else 230-5*(p%30) fill_rect(x,27+5*(p//30),5,5,(coul[c],)*3) p+=1 sleep(t) def anim(f): s=1 for _ in range(randint(2,5)): aff(f,s) sleep(.4) s=1-s return s while True: s = anim(f2) aff(f1,s,.6) aff(f3,s, .3) aff(f4,s,.8)