cs50 / problems

Checks for check50
134 stars 227 forks source link

Update lookup.py #246

Closed curiouskiwi closed 2 months ago

curiouskiwi commented 2 months ago

remove name key/value pair since the API we use now does not return that and having it here can cause problems for students whose code does not expect it.

dmalan commented 2 months ago

@curiouskiwi does the check50 check still depend on this in any way?

curiouskiwi commented 2 months ago

@dmalan it requires that lookup returns price & symbol for "AAAA" since students' code will be calling lookup and their distro code version would return None. Doesn't need the other 2 symbols but I left them there just because they were there. :)