The RandomNumber
component in the following code snippet returns a random number between 0 and a given limit
. Use RandomNumber
to display a random number from the LuckyNumber
component. Set the limit
as 10.
Note that you may find "Wrong answer" message even if you provided the correct code, this is because we evaluate the output. And here, the output will be random. If your output gives random number, your solution is correct.