Generation

generate functionSat, 12 Nov 2022

Randomize an array of words

import random words = ["giraffe", "the", "blah", "aardvark", "potato"] def randomize_words(words): random.shuffle(words) return words randomize_words(words)

Want to kickstart your project?Use the new AI Studio to create your code