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

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

:) import.py correctly imports Luna Lovegood

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

:) import.py imports the correct number of rows

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

:( roster.py produces correct Hufflepuff roster

Cause
expected "Hannah Abbott,...", not ""

Log
running python3 roster.py Hufflepuff...

Expected Output:
Hannah Abbott, born 1980
Susan Bones, born 1979
Cedric Diggory, born 1977
Justin Finch-Fletchley, born 1979
Ernest Macmillan, born 1980\n
Actual Output:

:( roster.py produces correct Gryffindor roster

Cause
expected "Lavender Brown...", not "Hermione Jean ..."

Log
running python3 roster.py Gryffindor...

Expected Output:
Lavender Brown, born 1979
Colin Creevey, born 1981
Seamus Finnigan, born 1979
Hermione Jean Granger, born 1979
Neville Longbottom, born 1980
Parvati Patil, born 1979
Harry James Potter, born 1980
Dean Thomas, born 1980
Romilda Vane, born 1981
Ginevra Molly Weasley, born 1981
Ronald Bilius Weasley, born 1980\n
Actual Output:
Hermione Jean Granger, born 1979
Harry James Potter, born 1980
Ginevra Molly Weasley, born 1981
Ronald Bilius Weasley, born 1980\n