I want random numbers to be written on the screen, but not the same number. get different every number on the screen How can I make?
Please help me
1 Like
Use random integer block to get random number…
Once number is generated add it in a list & store that list in tiny db…
Then again no. Is generated check that particular no. Is already in list if yes then change…
2 Likes
I’ve already done it, but I want a different number. Some numbers coming the same
1 Like
So che vk it in the list that that no. Is already in list Or not if yes then again create no. Else that number
1 Like
can you tell which block is
1 Like
Use is in list block…And set the list to the list of numbers you created
1 Like
Use this block helps you
Image source : Taifun
Reference : App Inventor Code Snippets | Pura Vida Apps
2 Likes
Yes yes yes thank you so much. It work
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.