print( print('our website needs to trick people into looking at ads!' while true print('enter the number of clickbait headlines to generate:' response input('' if not response isdecimal() print('please enter number ' else numberofheadlines int(response break exit the loop once valid number is entered for in range(numberofheadlines) clickbaittype random randint( if clickbaittype = headline generatearemillennialskillingheadline( elif clickbaittype = headline generatewhatyoudontknowheadline( elif clickbaittype = headline generatebigcompanieshateherheadline( elif clickbaittype = headline generateyouwontbelieveheadline( elif clickbaittype = headline generatedontwantyoutoknowheadline( elif clickbaittype = headline generategiftideaheadline( elif clickbaittype = headline generatereasonswhyheadline( elif clickbaittype = headline generatejobautomatedheadline( print(headline print( website random choice(['wobsite''blag''facebuuk''googles' 'facesbook''tweedie''pastagram'] when random choice(whenlower( print('post these to our'websitewhen'or you\'re fired!' each of these functions returns different type of headline def generatearemillennialskillingheadline() noun random choice(nouns return 'are millennials killing the {industry?format(noun def generatewhatyoudontknowheadline() noun random choice(nouns pluralnoun random choice(nouns' when random choice(when return 'without this {}{could kill you {}format(nounpluralnounwhen def generatebigcompanieshateherheadline()clickbait headline generator