Post

Rakesh Das
Rakesh Das@RakeshDas_18·
@Python_Dv D. 3 3 is the answer. Explanation: 1. The function receives arguments x = 1 and y = 2. 2. Inside the function, x is updated to x + y, resulting in x = 3. 3. y is incremented by 1, making it y = 3. Therefore, the final output is x = 3 and y = 3
English
0
0
3
189
Data Wizard
Data Wizard@DataWizardPhd·
@Python_Dv Answer D. 3 3 Explanation: 1. Function gets values y = 2 and x = 1 2. x is set to x + y, which equals 3 3. y is set to y + 1, which is 3 4. finally print x and y with are both 3 giving 3 3
English
0
0
0
7
Abigail Godwin
Abigail Godwin@godwin27656·
@Python_Dv 3,2 because when calling the function y overrides the default value of x the first parameter and same goes for the second parameter , so 2 + the second parameter 1=3 and the second parameter 1 +1 =2
English
0
0
0
2
Ni_
Ni_@nikkitapandey1·
@Python_Dv The answer is D. 3 3
English
0
0
0
37
แชร์