00:00If you want to get a random number between 1 to 13, the reason why I said 13 is because I got 13
00:04products here, you use a function called ran between. And the first argument will be number
00:101 and 13 will be the last one here. Hit enter, it will generate a random number, happened to be 13.
00:16So and you apply the same formula right across the board. But the problem with this approach is
00:20that you can see they are not unique. 11 is repeated twice here, 2 is repeated twice and so on.
00:25That's another way to get around this and the formula for that will be this. Let me get rid
00:29of everything here. You start off by using a function called sort by. And the first argument is
00:34sequence. And basically you're generating a sequence of 13 numbers. So 1 to 13. And the second argument
00:41is a sorting by. We're going to have to use ran array. And this will generate 13 numbers. But this
00:47is numbers between 0 to 1. And basically sort it based on those numbers here. And you can see
00:53it generates 13 numbers and they're all unique.
Comments