import random nouns = ("puppy", "car", "rabbit", "girl", "monkey") verbs = ("runs", "hits", "jumps", "drives", "barfs") adv = ("crazily.", "dutifully.", "foolishly.", "merrily.", "occasionally.") adj = ("adorable", "clueless", "dirty", "odd", "stupid") all_words = [nouns, verbs, adj, adv] buf = io.BytesIO() data = ' '.join([random.choice(i) for i in all_words]) buf.write(f"{data}".encode()) buf.seek(0)
А если мне надо найти эти рандомные слова lol
Обсуждают сегодня