This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.
Also, note that the solution uses nutrient.x.value, which means we're assuming that the bag Qty is number of 100-g servings (not pieces). So, we're assuming 30 x 100-g servings of candy corn (3 kg or 6.6 lbs of candy corn!!) and not 30 pieces of candy corn.
No wonder it's 34,795 calories! Given that assumption, the whole bag is 8,800 grams or 19.4 lbs! Now, that is a candy haul!
If we use the nutrient.x.measures (assume the bag Qty is in pieces), then we get a much more reasonable(-ish) 4,256 calories for the bag. I calculated it both ways (assuming Qty = 100-g servings, and also assuming Qty = pieces), because I was curious!