Skip to content

Instantly share code, notes, and snippets.



Created Jul 12, 2020
What would you like to do?
Máquina escolha minha pizza, por favor.
import random
from collections import Counter
pizzas = ['caipira', 'portuguesa', 'pepperoni', '4 queijos']
print(Counter([random.sample(pizzas, 1)[0] for r in range(1000)]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment