COMPSCI 61A Lecture 15: Mutable Values

78 views3 pages
Verified Note

Document Summary

Amazon alexa and the search for the one perfect answer . Studies show more likely to ask smart speakers questions than anything else (ex shopping) Just forwarding answers from other sources from the web -- amazon is not the source. Super important to tech giants, businesses, economists etc huge thing. Because if you"re the top search for someone asking for a recommendation going to get more business. Maps due in few days (look on website) If do [x*x for x in [] ] (empty list) returns [] nothing. Returns nothing if nothing to call it on. Return tree(f(label(t)), [tree_map(b, f) for b in branches(t)]) Can plug in lambdas for the function ! From datetime import date allows you to call. Called dot notation as demonstrated as above. Can do str(d8) and will return feb. Can also do today. year and will return year. Today has property of year that is imported and the object knows how to format itself.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents