2014-09-19 Pirate Day + HW9

posted Sep 19, 2014, 11:34 AM by Samuel Konstantinovich   [ updated Sep 19, 2014, 11:34 AM ]
Remember the vocabulary documents have been updated with the important words (on the top of the document) You should know them!

Submit the following functions in a plain text file (txt,rkt, etc.) on the homework server: (don't forget to include your heading)
1. (distance x1 y1 x2 y2)  [as per the description here http://bart.stuy.edu/~pbrooks/SchemingBat/scheming.py?ex=10&group=3&page=exercise ]
2. (getNthDigit n column)     [as per the description here: http://bart.stuy.edu/~pbrooks/SchemingBat/scheming.py?group=3&ex=18&page=exercise ]
3. Write a series of tests for your functions after the function definitions. These should show that you know the functions are evaluating to the correct values. Try different types of input for each function!
4. Don't forget your header.
Comments