All challenges
Multiple ChoiceIntermediate 30s

exec() Function

Choose the best answer for: exec()
Options
  1. 1exec() runs shell commands through a hidden subshell
  2. 2exec() executes arbitrary Python statements
  3. 3exec() is the same as eval() and handles expressions
  4. 4exec() is for testing only and never for real code

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