← Code LabSolidity0/50 solved · 0%
Functions · easy

13. view vs pure

State-read vs state-free.

Write `double(uint256 x)` returning `x*2` declared `pure`.
Required in your answer: external pure returnsreturn x * 2