Lesson 18 of 34 · +90 xp

Function

Define a function.

Explained simply

Your task

Write: def square(x): return x * x

def.py
▶ Output (python)
Click 'Run code' to execute your code in a real sandbox.
← Back