Skip to main content

Timeline for Hiccup a string

Current License: CC BY-SA 3.0

7 events
when toggle format what by license comment
Jun 17, 2020 at 9:04 history edited CommunityBot
Commonmark migration
Nov 25, 2016 at 19:23 history edited acrolith CC BY-SA 3.0
added 40 characters in body
Nov 25, 2016 at 18:19 comment added FlipTack You can write this 1 byte shorter as a recursive function: import random,time, then def F(s): newline if s:n=random.randint(1,10);time.sleep(n);print s[:n];F(s[n:])
Nov 24, 2016 at 19:20 comment added Esolanging Fruit Adapting this to minipy (Python 3): while v1:n=ri(1,10);_i("time").sleep(n);p(v1[:n]);v1=v1[n:]; (Takes input from command line args)
Nov 24, 2016 at 19:08 comment added george Python 3 is one byte longer. Insert a '(' between print and 'i' and a ')' before the bracket
Nov 24, 2016 at 17:57 comment added Erik the Outgolfer from random,time import* doesn't work because Python doesn't know from which module you want to import libraries from.
Nov 24, 2016 at 17:55 history answered acrolith CC BY-SA 3.0