COMPSCI 61A Lecture Notes - Lecture 19: Mobile World Congress, Kaspersky Lab, Function Object

73 views2 pages
Verified Note

Document Summary

Your bionic hand is now at risk of hackers . Kaspersky lab announces at mobile world congress 2019. Now equipped with smart features and more advanced technology. Means that also requires more software that must be connected to cloud. Third party could hypothetically now hack in and manipulate your data. Object value behaves like what is meant to represent. Python will always produce two representations of any string. Str = readable version we are used to seeing. Repr = representation that python interpreter understands. Repr function takes in python string object. Eval(repr(object)) is the same as object repr(object) is the same as string. This is why if call print on a function object displays something like: Polymorphic function = can be applied on different types of data. Str and repr are polymorphic because can call on any object type. Though return value may be messier depending (thing function object) Using dot notation with str and repr does same thing.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers