Multiple ChoiceBeginner 30s
Assert Statement
Choose the best answer for: assert
Options
- 1assert raises AssertionError if condition is False
- 2assert catches exceptions raised inside its expression
- 3assert only works inside test functions and not scripts
- 4assert is a function taking a condition and a message
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.