Anonymous user
Mad Libs: Difference between revisions
Fixed Mathematica
(Made more functional) |
(Fixed Mathematica) |
||
Line 1,083:
InputString["Enter the filename of the story template:"]];
answers =
AssociationMap[
InputString[
"Enter a" <>
If[StringMatchQ[#
"
" " <> StringTrim[
Print[StringReplace[text, Normal[answers]]];</lang>
▲ StringReplace[text, RegularExpression["<[^>]+>"] -> "``"]]]];</lang>
{{out}}
<pre>George went for a walk in the park. he
|