#Python 2, 93 92 bytes
Python 2, 93 92 bytes
import random,time
def F(s):
if s:n=random.randint(1,10);time.sleep(n);print s[:n];F(s[n:])
-1 byte thanks to Flp.Tkc
I'm sure there is a way to shorten the random.randint
and time.sleep
, but from random,time import*
doesn't work...