Search

You can find the results of your search below.

lab6
45 Hits, Last modified:
(e.g., ''my-sum''). <code> fun my-product(lst :: List<Number>) -> Number: doc: ```returns the product of the numbers in list lst``` cases (List) lst: | empty => 1 | link(f, r) => f * my-product(r) end where: my-product(empty) is ... my-product([list: 2, 3]) is ... my-product([list: 5, 2, 3]) is .
week11
4 Hits, Last modified:
elopment of a non-recursive function that takes a list of numbers, and uses an anonymous function and a built-in list function in its body (like Problem 5 on the pract... * **Problem 2.** Expressions involving built-in list functions. (like Problem 6 on the practice exam) ... late, and a function. \\ \\ * **Problem 4.** List of structured data. (like Problem 4 from the prac
lab1
3 Hits, Last modified:
on //File// -> //My Programs//, you'll be shown a list of all your programs including the one you just s... n let the professor know. \\ \\ - You'll see a list of courses you're enrolled it. Click on "CMPU 101 04/05". \\ \\ - Now you'll see a list of assignments for the course. For now the only o
asmt1
1 Hits, Last modified:
If you want to be more accurate, a comprehensive list of the color names Pyret understands can be found
asmt3
1 Hits, Last modified:
rking with strings. Some of these produce a <code>List</code>, which is a data type we haven&#39;t worke
schedule
1 Hits, Last modified:
pond to the lecture material. The Mon/Wed columns list the lecture dates, and the Fri column lists the l
top
1 Hits, Last modified:
.g., <code python> # Consulted online source for list comprehensions: # https://diveintopython3.net/com
week7
1 Hits, Last modified:
from last time (through slide 46) * Designing list functions (begins on slide 47) * [[https://code