''' Purpose: solve huh test problem ''' # import the needed module import random # Suggested algorithm # get user to supply a word # use the reply to set the random number generator # get user to supply text # determine the words in the reply # get user to supply the length of the random sentence # convert reply to integer # for the indicated number of times select a random input word and print it