Python/Basic functions: Difference between revisions
No edit summary |
No edit summary |
||
| Line 25: | Line 25: | ||
>>> def square(x): | >>> def square(x): | ||
return (x**2) | |||
Which can then be used to do such fun things as: | Which can then be used to do such fun things as: | ||