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

Lesson 25: Looping over Dictionaries (Syntax Errors) #1049

Open
PopOcculture opened this issue Jan 29, 2025 · 0 comments
Open

Lesson 25: Looping over Dictionaries (Syntax Errors) #1049

PopOcculture opened this issue Jan 29, 2025 · 0 comments
Labels
content Issues with the lessons, practices, including their code examples

Comments

@PopOcculture
Copy link

Within the Practice Modules for Lesson 25: Looping over Dictionaries, the keys given to the student in the first and second practice are as follows:

  • inventory[item_name]
  • units[cell_coordinates]
    Despite the hints specifying the use of this specific syntax, if the student attempts to construct their script with this language, they will always receive
    an "Identifier key_syntax isn't declared ERROR.
    The only way to solve the Practice Modules would require the use of:
  • inventory[item]
  • units[cell]
    As these syntax formulas are not declared anywhere within the instructions or hints of the module, as well as being directly against the actual syntax declared in the instructions/hints. The only way for the student to solve these practices (from the perspective of a student) would be guess or to look at the Solution.
    While simply looking at the Solution does work, it robs the student of the ability to troubleshoot and work through the problem themselves, and reduces the practice to simply regurgitating the suggested solution. As a learning student, I was only able to work through this error with a more experienced peer breaking down the error and explaining to me that my comprehension of the lesson wasn't failing me but that I had effectively been given the wrong equation to use when solving the script. In their words "They Goofed".
    I wanted to truly understand the process of the practice, and had worked through it several times, over the course of several days to try an understand what I wasn't understanding. And this syntax discrepancy proved to be the actual cause for misunderstanding.
@PopOcculture PopOcculture added the content Issues with the lessons, practices, including their code examples label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Issues with the lessons, practices, including their code examples
Projects
None yet
Development

No branches or pull requests

1 participant