Originally Posted by BrandonAdam
I've been working a few examples in a book that I have
Is that book titled "How Not to Write Functions in Python"?
Because the syntax you're using has nothing in common with Python.
print "My favorite team is",teamname
That second line (the one with the print statement) is indented with a tab. You have to indent with tabs in Python, which is one reason why many programmers detest the language. Any way, good luck.