def event_details(): name = [ "Ed-Sheeran Concert", "MAGA Rally", "Chug-the-Jug", "Cupid's Ball", "Deep Blue Destiny", "TGIF-Midnight", "Mexican-Fiesta", "Paradise Awaits", "Frosty Frozen Prom", "Tequila Sunrise", "Light Up the Night", "Zombie Prom" ] date = [ "5-Oct-2018", "9-Oct-2018", "26-Oct-2018", "8-Nov-2018", "18-Nov-2018", "4-Nov-2018", "21-Nov-2018", "26-Dec-2018", "8-Jan-2019" ] price = [80, 100, 60, 150, 30, 45, 90, 200] location = [ "Nashville, TN", "Memphis, TN", "Huntsville, AL", "New York, NY", "Salt Lake City, UT", "Denver, CO" ] events = [] for i in range(0, len(name)): events.append( M.Event(name[i], date[random.randint(0, len(date) - 1)], location[random.randint(0, len(location) - 1)], price[random.randint(0, len(price) - 1)])) return events