updated parody bot

master
Michael Murtaugh 4 years ago
parent 5afcb5fe03
commit 368f0dccbb

@ -226,21 +226,22 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 6, "execution_count": 12,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"name": "stdin", "name": "stdin",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
" Today is the first day of the rest of your life.\n" " Today is the first day of the rest of your life\n"
] ]
}, },
{ {
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"END is the great underneath outside a pea at his time .\n" "Today is the first day of the rest of your life\n",
"END is a sorry thief of the sobs upon your run\n"
] ]
} }
], ],
@ -261,6 +262,7 @@
" newword = choice(index[tag])\n", " newword = choice(index[tag])\n",
" new.append(newword)\n", " new.append(newword)\n",
" # print (\"replace with\", newword)\n", " # print (\"replace with\", newword)\n",
"print (i)\n",
"print (' '.join(new))" "print (' '.join(new))"
] ]
}, },

Loading…
Cancel
Save