6 lines
60 B
Python
6 lines
60 B
Python
>>> def square(x):
|
|
... return x*x
|
|
...
|
|
>>> square(10)
|
|
100
|