The quiz where the difficulty automagically adapts to the player's Python knowledge
This is a question page. You can use this page to bookmark a question. Start a new quiz!
Question #105
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. (geeksforgeeks.org/global-keyword-in-python)
A function can access a variable defined out of the function even if is not set as global.
— The Python Quiz (@thepythonquiz) July 26, 2020
False
True#python #python3 #pythonprogramming #learnpython
Question difficulty: π΅π΅π΅π΅π΅
Similar questions: