All challenges
Multiple ChoiceIntermediate 30s

dataclass field Options

Choose the best answer for: dataclasses.field()
Options
  1. 1field() creates the class attributes for a dataclass automatically
  2. 2field() customizes dataclass fields (default, default_factory, etc.)
  3. 3field() is a metaclass used to build dataclasses at creation
  4. 4field() replaces the generated __init__ with a constructor

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