If a program says "takes exactly 1 argument (0 given).how do you fix it?
you are attempting to call a function that takes exactly 1 argument without giving it one.
of course, the interpreter raises an error. to fix it, call the related function properly.
you could also provide us the related code.