ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-tutor
python-tutor
[Tutor] functions in Python
by Payal Rathod other posts by this author
Apr 17 2006 8:42AM messages near this date
Re: [Tutor] functions in Python | Re: [Tutor] functions in Python
Hi,
I am now reading Alan's tut on Python, before that I have read a few other tuts too.
But I am not getting functions exactly. I mean what is the difference between,

def func():
        ....

and

def func(x):
        ....

When to use which? (please do not say "returns a value" for I do not understand the meaning
of the same)

With warm regards,
-Payal
_______________________________________________
Tutor maillist  -  Tutor@[...].org
http://mail.python.org/mailman/listinfo/tutor
Thread:
Payal Rathod
Robert Schumann
Payal Rathod
Danny Yoo
Payal Rathod
Adam
Payal Rathod

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved