# \[Solved\] Shuffle 10 numbers randomly

**URL:** <https://community.thunkable.com/t/solved-shuffle-10-numbers-randomly/347738>\
**Category:** Questions about Thunkable X\
**Tags:** solved\
**Created:** [November 29, 2019, 11:37pm UTC](https://community.thunkable.com/t/solved-shuffle-10-numbers-randomly/347738 "2019-11-29T23:37:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![calcanius8l27h](https://avatars.discourse-cdn.com/v4/letter/c/f0a364/32.png) [@calcanius8l27h](https://community.thunkable.com/u/calcanius8l27h)\
**Post date:** [November 29, 2019, 11:37pm UTC](https://community.thunkable.com/t/solved-shuffle-10-numbers-randomly/347738/1 "2019-11-29T23:37:36Z")

</div>

This is working great now, but is it possible to have a random number from 1-10 chosen but never repeat one? Because, of course, sometimes the same image will show twice or three times within a cycle.

 ![14 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/7/b727ab817d8d9cdd93b44f5fe62edeeb205d3098.png)

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [November 30, 2019, 8:14am UTC](https://community.thunkable.com/t/solved-shuffle-10-numbers-randomly/347738/2 "2019-11-30T08:14:51Z")

</div>

To solve your problem, you need to create a list of 10 images and after each generation of a random index, remove the image from this list (by this index) and reduce the range of random numbers generation. In this case, there will be no repetitions.

Best regards, Alex  
[ACtech demo project](https://x.thunkable.com/projects/5d70f93f8a62b4079eedaff2/project/properties/designer/)  
[Thunkable X Basic Programming Course](http://droidscript.ru/main/title_ds15.php)  
[Block Reference](http://droidscript.ru/main/statyi/thunkableios_blockhelper.php)  
[Component Reference](http://droidscript.ru/main/statyi/thunkableios_objects.php)  
[Bug tracker](https://x.thunkable.com/projects/5dbd5243a77acad1b26f851f/project/properties/designer/)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:46am UTC](https://community.thunkable.com/t/solved-shuffle-10-numbers-randomly/347738/3 "2024-11-08T11:46:33Z")

</div>


