Vidyalelo
Python · Q48

Functions in Python

Programming · Python · question 48

Q48

What will be the output of the following Python code? def f(): x=4 x=1 f() x

A.
Error
B.
4
C.
Junk value
D.
1
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board