Explanation: in the code shown above, the variable ‘x’ has been declared as a global variable under both the functions f1 and f2.
Q. (1,2) print(total)
β
Correct Answer: (B)
7
Explanation by: Mr. Dubey
in the code shown above, the variable ‘x’ has been declared as a global variable under both the functions f1 and f2.
Discussion
Question Analytics
533
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
91%
Success Rate