I’m not looking for answers. Just directions on what keywords for lectures on the topic. I can find CS stuff when looking, but that feels too esoteric for high school geometry?

  • slazer2au
    link
    English
    45 months ago

    X and Y are not geometry in this instance. They are variables.

    As an example if X is 5 and Y is 10, when reading line 30 the code will be False and the program will do the next step of running line 40. Now, as X (5) is less than Y (10) the statement is True and the THAN operation is executed, which will skip straight to line 70. Finally in the console of this script/app the program will write out the variables of X and Y then finally it will close.

    • Ephera
      link
      fedilink
      English
      25 months ago

      Since the exercise doesn’t explain it very well, maybe should also note that in:

      10 INPUT X
      20 INPUT Y
      ...
      

      The “10” and “20” etc. are just the line numbers. The lines are numbered in steps of 10 for historic reasons. So, the actual content of the line is just INPUT X and INPUT Y etc…