Python programming allows you to write your own programs. For example, to write a function named double that returns the number that you input, but doubled, we would write the following (where >>>> indicates a tab space)
def double(x):
>>>>x=x*2
>>>>return x
Chat with our AI personalities