Totem.py and write functions in that module. The code
you write must conform to the totem standards below.
For example function names can be chin_cleft,
hair_bald, mouth_open, or
mouth_v1. You cannot use a name
like mouth or earClogged because these don't
conform to the naming specification. The "meaningful"
description can be anything.b
hair_part below:
15*k + (k-1) where k is the number
of lines represented by the string. A one-line string will be exactly
15-characters, a two-line string will be two lines of 15 separated by
one new line character so it's length will be 31 = 15*2 +
(2-1) characters
Some of the characters in each line can be spaces, but each must have length fifteen as a string (again, multi-line strings are fine).
totem and the other should be named
randompole. The first will print the same totem-pole each
time it is called. The totem-pole must consist of at least three
different "heads".
The second function, randompole, should create different
poles each time it is called based on using the Python random
module and using if/elif statements.
totem that results in generating three totem heads.
main Python idiom we've seen to run
either totem or randompole when the
program is run, e.g., from Eclipse:
totem function as well, not
just the randompole function.
hairParted that conforms to the totem standards.
def hairParted():
return " "*5 + r"\\\\\\\\//"
Note that 5 spaces are concatenated to 10 characters in a raw string.