Search

You can find the results of your search below.

02
9 Hits, Last modified:
uidelines</a> for details.</p></li> <li><p>Try to write your tests before filling in your functions, so y... hat customers fit Winifred’s criteria. We want to write a function that takes a person’s age, hobby, town... a good potential customer to advertise to, we’ll write a series of <em>predicates</em> – functions that ... <code class="constant">false</code>. Make sure to write examples for each function before you try writing
05
9 Hits, Last modified:
Remember to test your functions thoroughly and to write your code clearly. Your work will be graded on cl... /p> <div class="task"> <p><strong>Task</strong>: Write the function</p> <pre class="pyret"><span class="... /code>; the point of this exercise is to have you write that code for yourself.</p> <p>There are two key... ss="keyword">list</span>: 4, 5, 9]</code>. Try to write out the sequence of <code>where</code> examples t
03
7 Hits, Last modified:
strong>Task</strong>: To test the functions we’ll write, we also need a small table of test data. Use the... de></pre> <p><strong>Warning</strong>: Be sure to write examples in a <code>where</code> block for all of... ode class="string">"06:30"</code>, so we’ll first write a function to convert a time to minutes.</p> <p><strong>Task</strong>: Write a function</p> <pre><code><span class="keyword">f
06
2 Hits, Last modified:
Remember to test your functions thoroughly and to write your code clearly. Your work will be graded on cl... code class="keyword">end</code> </pre> <p>If you write <code>find-separator</code>, you don’t need to gi
01
1 Hits, Last modified:
hours</a>.</p></li> </ul> <h2>Assignment</h2> <p>Write code to generate these three flags:</p> <ol> <li>