Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle duplicate functions in solution #425

Open
alexmojaki opened this issue Mar 1, 2023 · 0 comments
Open

Handle duplicate functions in solution #425

alexmojaki opened this issue Mar 1, 2023 · 0 comments

Comments

@alexmojaki
Copy link
Owner

Sometimes students define the required function twice, e.g:

def double(x):
    return x + x

def quadruple(x):
    return double(double(x))

def quadruple(x):
    return double(double(x))

This causes an error in the checker making it seem like something has gone wrong. Instead we should just tell the user to define the function only once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant