Nov-29-2017, 04:45 PM
nouns = ("alien", "man", "android", "girl", "monkey") verbs = ("runs", "faints", "jumps", "trips", "barfs") adv = ("crazily.", "dutifully.", "foolishly.", "merrily.", "occasionally.") adj = ("adorable", "clueless", "ignorant", "odd", "stupid") nons = ("alien", "man", "android", "girl", "monkey") vorbs = ("hunts", "walks", "jumps", "trips", "shoots gun") aev = ("slowly.", "carefully.", "fast.", "actiously.", "occasionally.") ado = ("adorable", "clueless", "ignorant", "odd", "stupid") humanoid = ("alien", "man", "android", "girl", "monkey") done = ("hunts", "walks with", "pushes", "trips", "shoots at","traps") living = ("a alien", "a man", "a girl", "a android", "a monkey") things = ("in a pit.", "in a tunnel.", "upstairs.", "downstairs.", "in the water.") bipeds = ("alien", "man", "android", "girl", "monkey") sports = ("goes golfing", "goes swimming", "goes skiing", "goes bowling", "goes surfing","goes hoverboarding") gowith = ("with a alien", "with a dog", "with a girl", "with a android", "with a robot") time = ("in the morning.", "at lunch time.", "in the afternoon.", "at night time.") people = ("girl", "woman", "man", "robot") actions = ("sees", "yells at", "films", "talks to") thesethings = ("scary alien", "a deer", "the stormy sky", "women standing in the rain") timely = ("in the morning.", "at lunch time.", "in the afternoon.", "at night time.")The problem is, in some of your tuples you have such 4 elements rather than 5 (for instance timely tuple). But all your range function call seem to generate numbers between 0-5. Which will cause issues with the tuples which dont have the 5th element. Hence it worked when you changed from 5 to 4.