lets say i want to make a function that accepts a single argument that is supposed to be a number.
lets say the function displays the range between 0 and the argument.
Normally I'd do something like this:
def range_display(integer):
set = []
for num in range(0, integer):
range_list = set.append(num)
return range_list
But I don't know if thats how functions accept arguments. Just a guess.
How exactly do you make functions accept arguments? I don't quite get it...