Search

You can find the results of your search below.

asmt2
22 Hits, Last modified:
s-keyword">add</span><span class="bash">-one(n :: Number) -&gt; Number: </span> n + <span class="hljs-number">1</span> where: <span class="hljs-keyword">add</span><span clas... "hljs-attr">TARGET-AGE</span> = <span class="hljs-number">25</span> <span class="hljs-attr">TARGET-TOWN</s
asmt3
11 Hits, Last modified:
(like those in the table) and converts it to the number of minutes since midnight.</p> <p><strong>Note</s... 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&#39;s <code>some</code> number if the string
lab2
10 Hits, Last modified:
ur_clock|military time]], e.g., 9:00 a.m. is the number ''0900'' and 6:00 p.m. is ''1800''. If the time ... called. For example, this is valid code: <code> number = 111 if number == 111: "Yay" else: "Nay" end </code> ==== Part 2 ==== Your friend came up with a... Write a function ''saffir-simpson(wind-speed :: Number) -> String'', that takes in the average recorded
lab6
10 Hits, Last modified:
, ''my-sum''). <code> fun my-product(lst :: List<Number>) -> Number: doc: ```returns the product of the numbers in list lst``` cases (List) lst: | empty ... the numbers: <code> fun sum-of-cubes(lst :: List<Number>) -> Number: cases (List) lst: | empty => ... | link(f, r) => ... end where: sum-of-cu
lab7
6 Hits, Last modified:
="hljs-comment">#|</span> CMPU<span class="hljs-number">-101</span> Fall <span class="hljs-number">2021</span> Lab <span class="hljs-number">7</span> Name: your <span class="hljs-built_in">name</span... cise.</p> <pre><code># Exercise <span class="hljs-number">1</span> <span class="hljs-function"><span clas
lab3.html
5 Hits, Last modified:
candy. Then, they compiled a data-set with <code>Number</code> attributes like the winning percentage, re... ssion in the definitions window that outputs this number in the interactions window. You can get the lengt... the chocolate attribute. This function returns a number which is the proportion of candies that have the attribute specified to the total number of chocolate candies.</p> <p>The function declara
lab1
2 Hits, Last modified:
ed and -- fascinatingly -- the result is also the number 1! * Let's be slightly more interesting and try... ou a head start! The lines below that start with number signs (''#'') are not evaluated by the computer -
lab4
1 Hits, Last modified:
ss="hljs-type">String</span>)</span></span> -&gt; Number: doc: <span class="hljs-string">"returns the pe
week3
1 Hits, Last modified:
-- Thank you, Prof Gordon!! Note that the lecture number and date on the title page refer to Prof Gordon's
week5
1 Hits, Last modified:
. Expressions may involve: * values of type Number, String, Boolean (no Image values) * functi