Home / CSE MCQs / Python MCQs :: Discussion

Discussion :: Python MCQs

  1. On assigning a value to a variable inside a function, it automatically becomes a global variable. State whether true or false.
  2. A.
    True
    B.
    False
    C.
    Error
    D.
    Not mentioned

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    On assigning a value to a variable inside a function, t automatically becomes a local variable. Hence the above statement is false.


Be The First To Comment