3 ms·
“How do I test all possible equivalent definitions of this function” is probably not practically answerable for this. What if they wrote this? def biasedco
by mlthoughts2018 6y ago
“How do I test all possible equivalent definitions of this function” is probably not practically answerable for this. What if they wrote this?
def biasedcoin(n, p):
for answer in answer_key[n][p]:
yield answer
Or this:
def biasedcoin(n, p):
while True:
mine_bitcoin_on_teachers_computer()