Draw a random number on the chart on every turn of the loop.
This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on.
The steps
- We add a While loop, which repeats forever.
- We create a number variable called number.
- Inside the loop we wait 500 milliseconds.
- Behind it we set number to a random value from 0 to 100.
- On the dashboard we draw a chart and give it the variable number.
When you finish, the app takes you straight to the next tutorial in the path.