Jump to content

Boston Python Workshop 3/Friday/Tutorial: Difference between revisions

imported>Jesstess
imported>Jesstess
Line 669:
* They let us re-use code without having to type it out each time.
* They take input and possibly produce output (we say they <b>return</b> a value). You can assign a variable to this output.
* You call a function by using its name followed by theits input<b>arguments</b> in parenthesis.
 
For example:
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.