7 Matching Annotations
1. Apr 2019
1. The "non-fruitful function" got me really confused here.

#### URL

3. Jan 2019
1. additive identity and multiplicative identity

The "Additive Identity" is 0, because adding 0 to a number does not change it:

a + 0 = 0 + a = a

The "Multiplicative Identity" is 1, because multiplying a number by 1 leaves it unchanged:

a × 1 = 1 × a = a

2. def square(x): runningtotal = 0 for counter in range(x): runningtotal = runningtotal + x

``````return runningtotal
``````

The indentation of return runningtotal is very important because I made a mistake by indenting it to 4 more spaces and the code wasn't working**

#### URL

1. All I know is that when I use a synthesizer to make music, a sine wave is used to produce a particular sound... Now, to reproduce that sine wave by drawing it with a turtle is a completely different matter.

2. setworldcoordinates

I know what this does but I just can't understand how to make the turtle behave like a sine wave

#### URL

1. randrange

What is the difference between randrange and randint?