Hi all,
Another function question.....

def bar(x, y):
        return x + y

bar(4, 5)

So I can put anything I want in there. What good is a function like that?
Of course I know about.
def foo():
        print "Hello all you who subscribe to the Python Tutor mailing list!"

So what do you use the
def bar(x, y):
        return x + y

bar(4, 5)

functions for? (I just need a simple example)
Thanks,
        Joe

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to