Activity: Rule #2

WARNING: This program has a syntax error, which means we need to fix it!

RULE #2: Variable names cannot have spaces in them.

  • Click Run and read the error message to debug the program.
  • num siblings is not a correct variable name. Change the variable name to num_siblings instead.

Use an underscore _ instead of a space. Create an underscore by clicking SHIFT and dash -.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
Support