Changes

Jump to navigation Jump to search
Line 515: Line 515:  
The Python Code Block [[File:Pythoncodeblock.jpg|50px]] is used to sound a tone in the loudspeaker, the pitch identifies the key pressed.  
 
The Python Code Block [[File:Pythoncodeblock.jpg|50px]] is used to sound a tone in the loudspeaker, the pitch identifies the key pressed.  
   −
The following code is now a built in sample, <i>sinewave.py</i>. If typing it in, the indents are important. Click on the Python block to load the code.
+
The following code is now a built in sample, <i>sinewave.py</i>. If typing it into Pippy, the indents are important. Click on the Python block to load the code.
    
  def myblock(lc, x):
 
  def myblock(lc, x):
2,486

edits

Navigation menu