How can i get random number (not repeati̇ng)

You Sir, are a genius.