Wednesday, May 8, 2024

📑 Selecting the Maximum Values

📑 Task

1) Which built-in function will select from the list [a, b]
the same object as all expressions?
2) Can you continue this list and add some expressions with the same result?

📑 Answer

1) max(a, b)
2)

📑 Read-Write Attributes

📑 Task

1) The 'id' attribute is directly accessible and modifiable by the user
How this type of attributes is usually named?
2) Can you create another class that restricts access to
the id attribute for reading, making it write-only?
It will be great if you do this with additional hashing functionality.

📑 Answer

1) They are named 'read-write attributes' very often
2)