このサイトはJavaScriptを使用しています
ホーム
ヘルプ
サインイン
ben
/
func-smash
ミラー元
https://github.com/earwig/func-smash
ウォッチ
1
スター
1
フォーク
0
コード
リリース
0
アクティビティ
Generates random Python functions using Markov chains
選択できるのは25トピックまでです。
トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
24
コミット
1
ブランチ
72 KiB
ツリー:
19609c661e
master
ブランチ
タグ
${ item.name }
ブランチ
${ searchTerm }
を作成
'19609c661e' から
${ noResults }
func-smash
/
corpora
/
functions.py
functions.py
98 B
Raw
通常表示
履歴
corpora/functions.py
12年前
Some more corpora; updates
12年前
corpora/functions.py
12年前
1
2
3
4
5
6
7
def f1(a):
return int(a)
def f2(a):
return (lambda i: len(str(i)))(a)
corpus = [f1, f2]