Python User-defined Function: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - ". ----" to ". ----") |
m (Text replacement - "]] ** " to "]]. ** ") |
||
Line 3: | Line 3: | ||
** <code>def printme( str ):<BR> "This prints a passed string into this function"<BR> print str;<BR> return;</code> | ** <code>def printme( str ):<BR> "This prints a passed string into this function"<BR> print str;<BR> return;</code> | ||
* <B>Counter-Example(s):</B> | * <B>Counter-Example(s):</B> | ||
** a [[Python Library Function]] | ** a [[Python Library Function]]. | ||
** a [[Python Built-in Function]]. | ** a [[Python Built-in Function]]. | ||
** a [[Python User-defined Data Structure]]. | ** a [[Python User-defined Data Structure]]. |
Revision as of 18:31, 6 July 2022
A Python User-defined Function is a User-defined Function that is a Python function.
- Example(s):
def printme( str ):
"This prints a passed string into this function"
print str;
return;
- Counter-Example(s):
- See: Python Variable.