← Code LabSolidity0/50 solved · 0%
Data structures · easy

6. Dynamic Arrays

Push, length, indexed access.

Add `uint256[] public nums` and `add(uint256 n)` that pushes `n`.
Required in your answer: uint256[] public numsnums.push(n)