Quote:
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.
Try this:
Code:
def myTeams(teamname):
print "My favorite team is",teamname
myTeams("Gators")
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.