Name_________________ net-id _______ Name_________________ net-id _______ Name_________________ net-id _______ Name_________________ net-id _______
test
name
def
Hello Jello
test("Jello")
print "Hello Jello"
print
"Hello Jello"
test
so that
it can print messages like "Hello pretty leopard", "Hello slimy toad",
"Hello giant panda", i.e., so that a Hello greeting is printed
for an animal with an adjective so that both can be changed easily.
Which of the following (more than one can be correct) is a good choice
for the function header.
test(adj,animal)
test(x,y)
test(adjectiveanimal)
test(animal,adjective)
eyeSize
so that the circel that's the right eye-ball just
touches (is tangent to) the border of the yellow face
circle. Which of the following is closest to the value of the
variable when you're done?
fill
function used to create the color
of the mouth so that the mouth is some shade of Duke blue. There are
three parameters to the fill
function. What's the
value of the third parameter when you've made a Duke blue mouth
(pick the closest value).