Question: What is the output when the following function is called as below? def function ( values ) : values [ 0 ] = 8 9

What is the output when the following function is called as below?
def function (values):
values [0]=89
# Call the above function as below
list1=[11,12,30]
function1( list1)
print ( list1)
The list is immutable, you can't change its elements.
[11,12,30]
[89,12,30]
[11,12,30,89]
 What is the output when the following function is called as

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!