 Hi everyone, in this tutorial we're going to talk about that how to generate different random numbers in Python 3. Also in this tutorial I'm gonna show you example how to generate 10 random unique numbers within a range from 1 to 100. Because we are working with random numbers we need to use random module in Python. Random module in Python has methods for generating random numbers. So the first thing in this example is to import random module. Now let's talk a little bit about sample method from random module. Sample method returns unique random integers within a given range. This sample method has two arguments. First argument is the range and the second argument is the number of unique elements. If we want to have the range from 1 to 100 we're going to put inside our first argument range from 1 to 101. Sample function is from the random module so we're going to call it like this. Now I'm gonna type this code random.sample from range 1 to 101 and we want to have 10 unique numbers. Let's press enter and as you can see now we have 10 different numbers from given range from 1 to 100. That's all in this tutorial. Don't forget to subscribe to our channel and to like this video. See you in the next tutorial. Bye!