Question #105

A function can access a variable defined out of the function even if is not set as global.

This is true, as long as the function does not change the value of the variable. To do so, the variable has to be set as global with the global keyword. (

Comment on Disqus:

Comment on Twitter:

Question difficulty: πŸ”΅πŸ”΅πŸ”΅πŸ”΅πŸ”΅

Similar questions: