Vidyalelo
Python · Q148

Functions in Python

Programming · Python · question 148

Q148

What will be the output of the following Python code? def f1(): x=15 print(x) x=12 f1()

A.
Error
B.
12
C.
15
Answer
D.
1512

Answer: Option C

Solution

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