0 votes
in Python by
What will be displayed by the following code?

def f(value, values):

    v = 1

    values[0] = 44

t = 3

v = [1, 2, 3]

f(t, v)

print(t, v[0])

 

1 1

1 44

3 1

3 44  

3.

Related questions

+1 vote
asked Jan 19, 2021 in Python by SakshiSharma
0 votes
asked Jan 17, 2021 in Python by SakshiSharma
...