"Inclusive" and "Follow the Logic" HELP!

canine
Posts: 190
Joined: Sun Sep 14, 2008 5:38 am

Post by canine »

gfoot wrote:The javascript calculation is being performed by your browser to check your answer, so if the result you get isn't what it expects, your calculation is wrong. Your browser isn't lying!

There is a subtlety you may have missed, but I won't say what it is.

Also, remember that you don't have to attack each problem exactly in the way the challenge title says - sometimes there are more direct ways to be sure you get the right answer.
The thing is, is that it's not my calculation. I'm not doing this by hand.
karsmars
Posts: 11
Joined: Sat Dec 15, 2012 12:15 am

Stuck - but not on the math

Post by karsmars »

OK, feel free to edit if you think I'm giving away the answer, but every time I do the math for Follow the Logic, I get 333. I don't know what I'm doing wrong, but I've done it in Python, by hand, and had a friend do it on his own, and we always get the same answer. Is there a subtlety I'm missing, or am I just completely off the mark?

Please comment or PM to give a useful hint. :?
Kaaser
Posts: 4
Joined: Thu Mar 14, 2013 7:22 pm

First time using javascript...

Post by Kaaser »

... but I got it. Test the code you found with an online interpreter. But there is still one line confusing me. x)
Post Reply