Simply More Math explainer

The aim of this puzzle: To multiply and divide the variable y.
Walkthrough of the solution: This puzzle demonstrates how the multiplication (*) and the division (/) operators can be used to update a variable’s value. In the initial code the number 1 is being multiplied to y, and then divided against y. To solve this puzzle you’ll need to change 1 to be a number higher than that (i.e. 2, or 3, or 4, etc).
Sample code solution:
(Tap below to reveal)

var y = 10;
y = y * 5;
y = y / 10;

JavaScript Concepts: Binary Expression (=, *, /), Calling Functions, Identifiers, Variable Declaration
Grasshopper Concepts: print()


The puzzle seems to have reset itself after returning from the forum, logging in and out did not work. I should be ok now.

1 Like

I can’t find what’s wrong can someone help me plz.

1 Like

hi hello how are u guyes

good, I did it I did the code!

Thanks for the explainer it helps a lot

1 Like