May-28-2020, 02:54 PM
Look at your last chunk of code:
print("\nTable - A has - " , add(user_In), "- in it")
when you call add(user_In) you only enter 1 parameter, when you are supposed to enter 3.
you could alter the function to receive to default to a certain value.
for example when defining the function,
def add(value = deafult) instead of def add(value)
print("\nTable - A has - " , add(user_In), "- in it")
when you call add(user_In) you only enter 1 parameter, when you are supposed to enter 3.
you could alter the function to receive to default to a certain value.
for example when defining the function,
def add(value = deafult) instead of def add(value)