Search
You can find the results of your search below.
Fulltext results:
- 03 @courses:cs101-2022b:assignments
- >mins-since-midnight</span>(time :: String) -> Number: ... <span class="keyword">end</span> </code></... those in the table), it should convert it to the number of minutes since midnight.</p> <p><strong>Hints</... cs/latest/strings.html#%28part._strings_string-to-number%29"><code>string-to-number</code></a>. Despite its name, the output is <em>not</em> a number! It’s <code>
- 06 @courses:cs101-2022b:labs
- <span class="name">product</span>(lst :: List<Number>) -> Number: <span class="keyword">doc</span>: <span class="string">"Return the product of t... n class="name">sum-of-cubes</span>(lst :: List<Number>) -> Number: <span class="keyword">doc</span>: <span class="string">"Return the sum of the c
- 02 @courses:cs101-2022b:labs
- /span> <span class="name">grade</span>(percent :: Number) -> String: <span class="keyword">doc</span>... class="name">saffir-simpson</span>(wind-speed :: Number) -> String: ... <span class="keyword">end</s... > <span class="name">at-vassar</span>(latitude :: Number, longitude :: Number) -> Boolean: ... <span class="keyword">end</span> </code></pre> <p>It should r
- 02 @courses:cs101-2022b:assignments
- </span> <span class="name">within-5</span>(age :: Number) -> Boolean: ... <span class="keyword">end</... ="https://www.pyret.org/docs/latest/numbers.html">Number documentation</a>!)</p> <p>This should be an incl... n</span> <span class="name">show-ad</span>(age :: Number, town :: String, hobby :: String, has-car :: ... class="name">show-ad2</span>(ad :: String, age :: Number) -> Boolean: ... <span class="keyword">end</
- 05 @courses:cs101-2022b:assignments
- function adds a column to an existing table. The number of values in the <code>colvals</code> input must equal the number of rows in the Table <code>t</code>, and they wil... /span>(list-of-words :: List<String>) -> Number: ... <span class="keyword">end</span> </pre> <p... ="keyword">table</span>: name :: String, count :: Number <span class="keyword">end</span> <var>check-lis
- 06 @courses:cs101-2022b:assignments
- stion( column :: String, threshold :: Number, less-than-branch :: DecisionTree, gr... separator</code>(col :: String, t :: Table) -> Number: <code class="keyword">doc</code>: <code class="string">"Return a number halfway between the average values of column `col... de class="name">f1-score</code>(t :: Table) -> Number: <code class="keyword">doc</code>: <code class=
- 01 @courses:cs101-2022b:labs
- ted and – unsurprisingly – the result is also the number 1!</p></li> <li><p>Let’s be slightly more daring!... ead start!</p> <p>The lines below that start with number signs (<code>#</code>) are not evaluated by the c
- 03 @courses:cs101-2022b:labs
- they compiled a data set with</p> <ul> <li><code>Number</code> attributes like the winning percentage, re... ession (in the definitions pane) that outputs the number of chocolate candies.</p> <p><strong>Hint</strong
- 04 @courses:cs101-2022b:labs
- we all know and love – <code>String</code>, <code>Number</code>, etc. – we need to use the <code>sanitize<... cent-true</span>(t :: Table, col :: String) -> Number: <span class="keyword">doc</span>: <span class=
- 07 @courses:cs101-2022b:labs
- hich takes a <code>Pipeline</code> and counts the number of faucets it contains.</p> <p>To do this,</p> <... hich takes a <code>Pipeline</code> and counts the number of <em>open</em> (that is, running) faucets.</p>