Write the definition of a function twice, that receives an int parameter and returns an int that is twice the value of the parameter.

Write the definition of a function twice, that receives an int parameter and returns an int that is twice the value of the parameter.



Answer:

def twice(int):
return 2*int


Learn More :