I combined many lists from other different types of lists, and when I get an output, how do I tell Python what list from the combined list this is from?
For example, I have multiple lists here.
vampire_weapon = ['stake','silver sword'];
vampire_random = random.randint(0,1)
ghost_weapon = ['flash light','machine'];
ghost_random = random.randint(0,1)
zombie_weapon = ['crossbow','gun'];
zombie_random = random.randint(0,1)
monster_list = ['vampire', 'ghost', 'zombie']
monster_random = random.randint(0,2)
free_move = ['free move foward']
weapon_list = vampire_weapon + ghost_weapon + zombie_weapon
weapon_random = random.randint(0,8)
big_list = weapon_list + monster_list + free_move
big_random = random.randint(0,9)
And it is visible at the bottom that I have made a variable called big_list. When I run my code I get an output randomly selected from any of the lists above this code. How do I code it so that Python knows what list this is from so I can make different outputs like the example below?
For example if it's from the weapon_list, I can output "You encountered a (insert weapon)". And if it's from the monster_list I can output "You bumbed into a (insert monster)".