Skip to content

Optimal captain choice -small fix on enum :) #122

@vinay235

Description

@vinay235

Hey,
I was trying out the Optimal captain choice example but the enum is not working since its not picking the values from the dictionary:

Old code:

 for i, elements in enumerate(picks):
            gameweek = i + 1

Fix:

 for i, elements in enumerate(picks.values()):
            gameweek = i + 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions