i tried everything i learn so far but i couldn’t get pass this one. its still showing invalid_records not define.
please help
Your code so far
# User Editable Region
for key in invalid_records:
print(f"Unexpected format '{key}': {dictionary[key]} at position {index}.")
is_invalid = True
# 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/143.0.0.0 Safari/537.36 Edg/143.0.0.0
i was having trouble with this step. and i changed {val} to {dictionary[key]} like you did, and it worked. but i don’t understand why. isn’t {dictionary[key]} an integer?