Generates random Python functions using Markov chains
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
98 B

  1. def f1(a):
  2. return int(a)
  3. def f2(a):
  4. return (lambda i: len(str(i)))(a)
  5. corpus = [f1, f2]