Computer Science, asked by vladimirtellsstekell, 2 months ago

Describe the difference between objects and values using the terms “equivalent” and “identical”. Illustrate the difference using your own examples with Python lists and the “is” operator.

Describe the relationship between objects, references, and aliasing. Again, create your own examples with Python lists.

Finally, create your own example of a function that modifies a list passed in as an argument. Describe what your function does in terms of arguments, parameters, objects, and references.

Answers

Answered by nidaeamann
0

Explanation:

With respect to objects and values, equivalent terms are those which can be approximated to a referenced value. For example in case of significant figures, we can say that two value are equivalent if they are same for up to first decimal place.

On the other hand, identical means that there is no difference between the values or objects under comparison. One can be exactly replaced by the other without any slightest change

Similar questions