Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@SeanFelipe

This comment has been minimized.

Copy link
Owner Author

@SeanFelipe SeanFelipe commented Jan 3, 2020


pepperoni | rank: 1 | orders: 6335 
four cheese | rank: 2 | orders: 1611 
mozzarella cheese | rank: 3 | orders: 1461 
bacon | rank: 4 | orders: 1447 
beef | rank: 5 | orders: 1140 
sausage | rank: 6 | orders: 831 
mushrooms | rank: 7 | orders: 733 
italian sausage | rank: 8 | orders: 672 
black olives | rank: 9 | orders: 456 
chicken | rank: 10 | orders: 401 
pineapple | rank: 11 | orders: 360 
ham | rank: 12 | orders: 341 
jalapenos | rank: 13 | orders: 258 
green peppers | rank: 14 | orders: 206 
canadian bacon | rank: 15 | orders: 174 
diced white onions | rank: 16 | orders: 168 
cheddar cheese | rank: 17 | orders: 154 
diced tomatoes | rank: 18 | orders: 128 
alredo sauce | rank: 19 | orders: 127 
onions | rank: 20 | orders: 121 
@SeanFelipe

This comment has been minimized.

Copy link
Owner Author

@SeanFelipe SeanFelipe commented Jan 5, 2020

refactor output :

pepperoni | rank: 1 count: 6335
four cheese | rank: 2 count: 1611
mozzarella cheese | rank: 3 count: 1461
bacon | rank: 4 count: 1447
beef | rank: 5 count: 1140
sausage | rank: 6 count: 831
mushrooms | rank: 7 count: 733
italian sausage | rank: 8 count: 672
black olives | rank: 9 count: 456
chicken | rank: 10 count: 401
pineapple | rank: 11 count: 360
ham | rank: 12 count: 341
jalapenos | rank: 13 count: 258
green peppers | rank: 14 count: 206
canadian bacon | rank: 15 count: 174
diced white onions | rank: 16 count: 168
cheddar cheese | rank: 17 count: 154
diced tomatoes | rank: 18 count: 128
alredo sauce | rank: 19 count: 127
onions | rank: 20 count: 121
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment