import random


print(random.random())
print(random.randint(1, 3))


all_words = "all the words in the world".split()
print(all_words)


def get_random_word():
    return random.choice(all_words)


print(get_random_word())


all_words = "all the words in the world".split()


def get_unique_words():
    words = []
    for _ in range(1000):
        words.append(get_random_word())
    return set(words)


print(get_unique_words())


all_words = "all the words in the world".split()


def get_unique_words():
    words = []
    for _ in range(1000):
        word = get_random_word()
        if word not in words:
            words.append(word)
    return words


print(get_unique_words())


all_words = "all the words in the world".split()


def get_unique_words():
    words = set()
    for _ in range(1000):
        words.add(get_random_word())
    return words


print(get_unique_words())
