Anonymous user
Boston Python Workshop 3/Friday/Tutorial: Difference between revisions
Boston Python Workshop 3/Friday/Tutorial (view source)
Revision as of 00:07, 16 June 2011
, 13 years ago→Writing Functions
imported>Jesstess |
imported>Jesstess |
||
Line 624:
Running this assigns the type of <code>5</code> -- an integer -- to <code>x</code>.
We can right our own functions to encapsulate bits of useful work so we can reuse them. Here's how you do it:
|