DEMO: Before our next step, let's talk about nesting.

Nesting is when we put a loop or if-statement inside another loop or if-statement.

  • There's an example in the code editor. Click Run to see what will happen!
  • Click Submit and Next once you've finished the demonstration.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE