nerdexam
Juniper

JN0-220 · Question #3

Which statement is correct about Python variables once they are created?

The correct answer is C. A global variable can be used by any function within the script. See the full explanation below for the reasoning.

Question

Which statement is correct about Python variables once they are created?

Options

  • AA global variable can only be used by functions that are defined later
  • BAll variables in Python can be used by any function within the script
  • CA global variable can be used by any function within the script
  • DA global can only be used within the function that created it

How the community answered

(42 responses)
  • A
    7% (3)
  • B
    17% (7)
  • C
    71% (30)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full JN0-220 Practice