Vidyalelo
Python · Q139

Functions in Python

Programming · Python · question 139

Q139

What will be the output of the following Python code? def f1(): x=100 print(x) x=+1 f1()

A.
Error
B.
100
Answer
C.
101
D.
99

Answer: Option B

Solution

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