List Generator

import random

events = [
(1, “There is 1% chance on this option occuring”),

(5, “There is 5% chance on this option occuring”),

(5, “There is 5% chance on this option occuring”),

(5, “There is 5% chance on this option occuring”),
(10, “There is 10% chance on this option occuring”),

(10, “There is 10% chance on this option occuring”),

(10, “There is 10% chance on this option occuring”),
(25, “There is 25% chance on this option occuring”),

(25, “There is 25% chance on this option occuring”),

(25, “There is 25% chance on this option occuring”),

(50, “There is 50% chance on this option occuring”),

(50, “There is 50% chance on this option occuring”),
]

def generate_events(num_events):
selected_events = random.choices(events, weights=[weight for weight, _ in events], k=num_events)
return [event for _, event in selected_events]

# Example Usage

num_events = 3 # Adjust this number to control how many events you want
selected_events = generate_events(num_events)
for event in selected_events:
print(event)