Skip to content

Add a requirement checking that certain functions are defined and warning students if not before running #1375

Description

@NathanLovato

There was a report on L5.P2 where the student has to code a function named draw_three_squares() and they used the number 3 instead in the name. There are a bunch of exercises like these where we need them to create a function or define a specific symbol.

We should have a general purpose library function we can use as a pre-requisite check for practices. We could then use it with a generic help message from relevant practices to tell students when they need to define a function named in a specific way.

In general, I'd like to bring in the same notion of requirements as we have in GDPractice.

This should be implemented first and then applied to relevant practices.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions