Anonymous user
Boston Python workshop 2/Friday tutorial: Difference between revisions
Boston Python workshop 2/Friday tutorial (view source)
Revision as of 22:52, 13 May 2011
, 13 years ago→Types: fixed a typo
No edit summary |
(→Types: fixed a typo) |
||
Line 71:
So in this case 'type' is the name of the function, and it takes one argument; in the example we first give <code>type</code> an argument of 1 and then give it an argument of 1.0.
* Functions are a lot like functions in math class. You provide input to a function, and it possibly produces output. The 'type' function takes data as an input, and
===Command history===
|