check50

cs50/problems/2020/x/houses


:) import.py, roster.py exist

Log
checking that import.py exists...
checking that roster.py exists...

:( import.py correctly imports Harry Potter

Cause
expected "[{'first': 'Ha...", not "[]"

Log
running python3 import.py students.csv...

Expected Output:
[{'first': 'Harry', 'middle': 'James', 'last': 'Potter', 'house': 'Gryffindor', 'birth': 1980}]
Actual Output:
[]

:( import.py correctly imports Luna Lovegood

Cause
expected "[{'first': 'Lu...", not "[]"

Log
running python3 import.py students.csv...

Expected Output:
[{'first': 'Luna', 'middle': None, 'last': 'Lovegood', 'house': 'Ravenclaw', 'birth': 1981}]
Actual Output:
[]

:( import.py imports the correct number of rows

Cause
expected "40", not "0"

Log
running python3 import.py students.csv...

Expected Output:
40
Actual Output:
0

:| roster.py produces correct Hufflepuff roster

Cause
can't check until a frown turns upside down

:| roster.py produces correct Gryffindor roster

Cause
can't check until a frown turns upside down