Hi guys, what does it mean to use a number as an argument in a Python function?
It means to have one the function’s parameter acting as an integer:
def a_fun(x, string): an_int = x + 4 print(an_int) return string + "hi"
The way you define the parameter is the same as any other data type of parameter.
I hope this helps!
Oh okay, that makes sense. Thank you!