import pandas # lists to hold ticket details all_pizzas = ["Cheese", "Pepperoni", "Margherita", "Meat Lovers", "BBQ Beef & Onion", "Vegetarian", "Hawaiian", "Ham & Cheese", "Garlic Shrimp", "Chicken Cranberry"] all_prices = [7.50, 7.50, 10.50, 8.50, 7.50, 7.50, 7.50, 7.50, 10.50, 10.50] pizza_dict = { 'Pizzas': all_pizzas, 'Prices': all_prices, } # create dataframe / table from dictionary pizza_frame = pandas.DataFrame(pizza_dict) print(pizza_frame) print()