Mad Libs: Difference between revisions

Line 2,138:
 
print '\n\n\n' + story % substitutions</lang>
 
{{out}}
<pre>The story template is:
<name> went for a walk in the park. <he or she>
found a <noun>. <name> decided to take it home.
 
Input a comma-separated list of words to replace the following items
<he or she>,<name>,<noun>: She,Monica L.,cockerel
 
The story becomes:
 
Monica L. went for a walk in the park. She
found a cockerel. Monica L. decided to take it home.</pre>
 
=={{header|REBOL}}==