πŸ“Š Problem Solving and Python Programming
Q. On assigning a value to a variable inside a function, it automatically becomes a global variable.
  • (A) true
  • (B) false
  • (C) ---
  • (D) ---
πŸ’¬ Discuss
βœ… Correct Answer: (B) false

Explanation: on assigning a value to a variable inside a function, t automatically becomes a local variable. hence the above statement is false.


Explanation by: Mr. Dubey
on assigning a value to a variable inside a function, t automatically becomes a local variable. hence the above statement is false.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
112
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate