Skip to content

Comments

Doug b#1

Open
notdb wants to merge 6 commits intomasterfrom
doug-b
Open

Doug b#1
notdb wants to merge 6 commits intomasterfrom
doug-b

Conversation

@notdb
Copy link
Owner

@notdb notdb commented Sep 11, 2019

No description provided.


import math

# Your function should output the maximum number of whole batches that can be made for the supplied recipe using the ingredients available to you, as indicated by the second dictionary.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice to see the problem and your thoughts, helps follow your process

ingredientsArray.append(v)
print(recipeArray)
print(ingredientsArray)
batches = [(x / y) for x in recipeArray for y in ingredientsArray if x ]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think we talked about this yesterday, we're you able to get it working?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants