For example in this function I want to say that x
and y
are numbers. They can be either an int
or float
def multiply(x: int, y: float):
result = x * y
return result
For example in this function I want to say that x
and y
are numbers. They can be either an int
or float
def multiply(x: int, y: float):
result = x * y
return result