Post

Kode Gurukul
Kode Gurukul@kodegurukul·
Answer is C. 👉func: It will swap the values in the y and return y. Note in the output it is returning us the nested list. 👉In case we need the list then we have to remove the square brackets as shown in the screen shot 2.
Kode Gurukul tweet media
English
0
1
17
493
Ni_
Ni_@nikkitapandey1·
@Python_Dv The answer to this snippet is C
English
0
0
0
71
Prem Prakash
Prem Prakash@4EverPrem·
@Python_Dv [[20], [10]]. The func assigns values at index 0 & 1 to [20] & [10] respectively. When the function is called with different values, it gets reassigned inside the function.
English
0
0
0
114
Paylaş