Learn Algorithm Design by Building a Shortest Path Algorithm - Step 6

Tell us what’s happening:

The code does not pass, it shows the following error message: You should not have print(copper[‘age’]) in your code., even though I have deleted the print(copper[‘age’]) line

Your code so far


/* User Editable Region */

copper = {
    'species': 'guinea pig',
    'age': 2
}

cooper['food'] = 'hay'

/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36

Challenge Information:

Learn Algorithm Design by Building a Shortest Path Algorithm - Step 6

There’s typo in the variable name in the following line. It’s causing tests to not really get to the point when they are run.

cooper['food'] = 'hay'
1 Like