Question: 4. (5 pt) (FuncLang with list and pair programming) FuneLang programming: list and pair. (a) (2 pt) Using list expression define a list named authorandtitle

4. (5 pt) (FuncLang with list and pair programming) FuneLang programming: list and pair. (a) (2 pt) Using list expression define a list named authorandtitle that contains a list of 3 pairs: ("C. S. Lewis", "The Last Battle") ("Charles Dickens, A Christmas Carol") (Arthur C. Clarke, Rama). (b) (3 pt) Write a function, getbooks that takes authorandtitle string pairs and returns a single list of only the books. $ (getbooks authorandtitle) ("The Last Battle" "A Christmas Carol" Rama) 4. (5 pt) (FuncLang with list and pair programming) FuneLang programming: list and pair. (a) (2 pt) Using list expression define a list named authorandtitle that contains a list of 3 pairs: ("C. S. Lewis", "The Last Battle") ("Charles Dickens, A Christmas Carol") (Arthur C. Clarke, Rama). (b) (3 pt) Write a function, getbooks that takes authorandtitle string pairs and returns a single list of only the books. $ (getbooks authorandtitle) ("The Last Battle" "A Christmas Carol" Rama)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
