ExamVeda
Login
Home
81
What will be the output of the following Python code?
def f(p, q, r):
    global s
    p = 10
    q = 20
    r = 30
    s = 40
    print(p,q,r,s)
p,q,r,s = 1,2,3,4
f(5,10,15)
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
82
Where is function defined?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board