Yasir Bhutta
|
Local Global
0/20
30:00
Exit
Question 1
Flag
1/20
What is the output of the following code?
Python
Copy
x = 10 def my_function(): x = 5 return x print(my_function(), x)
A
(5, 10)
B
(10, 10)
C
(5, 5)
D
(10, 5)
Need a hint? View Explanation