All challenges
Multiple ChoiceIntermediate 30s

globals() and locals()

Choose the best answer for: globals()
Options
  1. 1globals() modifies the global scope
  2. 2globals() is the same as locals()
  3. 3globals() returns local vars
  4. 4globals() returns the global namespace dict

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle