asdf
If you are viewing this page, then your name should be Blake O'Hare.
If not, shoo! Shoo!
JES Dictionary - Core Jython Commands
JES Dictionary - Picture Manipulation Commands
JES Dictionary - Sound Manipulation Commands
JES Dictionary - String and List Commands
new HW4
Breakout Quiz - 2005-04-05.doc
Lots o' Sample Problems
AJAX announcements page experiment
foo
def hmmm(a, b, c):
weee = [1, 2, 3]
bacon = [a, b, c]
while 'pigs' != 'fly':
weee = [weee[0] + 7, weee[1] + 12, weee[2] + 3]
fooo = [51 + int(50 * sin(weee[0] / 180.0 * pi)), 80 + int(30 * sin(weee[1] / 180.0 * 3.14159235358979)), 60 + int(20 * sin(weee[2] / 180.0 * 3.14159265358979))]
s = (max(len(bacon[0]), max(len(bacon[1]), len(bacon[2]))) + max(fooo[0], max(fooo[1], fooo[2]))) * " "
for emu in range(3):
s = s[:fooo[emu]] + bacon[emu] + s[fooo[emu] + len(bacon[emu]):]
printNow(s)
Test Page

Lab: Excel fonctions
Spring 2006 Midterm 1 Review
Temple Santa
def grade(lab1,lab2,lab3,lab4,lab5,hw1,hw2,hw3,hw4,hw5,hw6,quiz1,quiz2,quiz3,exam1,exam2,pquiz1,pquiz2,pquiz3,pquiz4,pquiz5,pquiz6,pquiz7):
l,h,q,e,p=[lab1, lab2, lab3, lab4, lab5],[hw1, hw2, hw3, hw4, hw5, hw6],[quiz1, quiz2, quiz3],[exam1, exam2],[pquiz1, pquiz2, pquiz3, pquiz4, pquiz5, pquiz6, pquiz7]
p.sort()
s,r=lambda x,y:0.0+x+y,reduce
g=r(s,l)/5*.15 + r(s,h)/24 + r(s,q)/30 + r(s,p[2:])/100 + r(s,e)*.15
print g
for i in [('n A',90),(' B',80),(' C',70),(' D',60)]:print "To get a"+i[0]+", you need to make at least a ",int((i[1]-g)/.15*100)/100.0,"on the final."
XHTML tutorial
kekekeke