Exam4Training

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

Which statement is correct about Python variables once they are created?
A . A global variable can only be used by functions that are defined later
B . All variables in Python can be used by any function within the script
C . A global variable can be used by any function within the script
D . A global can only be used within the function that created it

Answer: A

Explanation:

Reference: https://stackoverflow.com/questions/423379/using-global-variables-in-a-function

Latest JN0-220 Dumps Valid Version with 65 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version