Hogwarts Email Sorting
Given a list of emails, get the students full name and their associated house.
Start file
james.potter@gryffindor.hogwarts.edu sirius.black@gryffindor.hogwarts.edu lily.potter@gryffindor.hogwarts.edu draco.malfoy@slytherin.hogwarts.edu harry.potter@gryffindor.hogwarts.edu susan.bones@hufflepuff.hogwarts.edu luna.lovegood@ravenclaw.hogwarts.edu pansy.parkinson@slytherin.hogwarts.edu cedric.diggory@hufflepuff.hogwarts.edu cho.chang@hufflepuff.hogwarts.edu
End file
James Potter Gryffindor Sirius Black Gryffindor Lily Potter Gryffindor Draco Malfoy Slytherin Harry Potter Gryffindor Susan Bones Hufflepuff Luna Lovegood Ravenclaw Pansy Parkinson Slytherin Cedric Diggory Hufflepuff Cho Chang Hufflepuff
View Diff
1,10c1,10 < james.potter@gryffindor.hogwarts.edu < sirius.black@gryffindor.hogwarts.edu < lily.potter@gryffindor.hogwarts.edu < draco.malfoy@slytherin.hogwarts.edu < harry.potter@gryffindor.hogwarts.edu < susan.bones@hufflepuff.hogwarts.edu < luna.lovegood@ravenclaw.hogwarts.edu < pansy.parkinson@slytherin.hogwarts.edu < cedric.diggory@hufflepuff.hogwarts.edu < cho.chang@hufflepuff.hogwarts.edu --- > James Potter Gryffindor > Sirius Black Gryffindor > Lily Potter Gryffindor > Draco Malfoy Slytherin > Harry Potter Gryffindor > Susan Bones Hufflepuff > Luna Lovegood Ravenclaw > Pansy Parkinson Slytherin > Cedric Diggory Hufflepuff > Cho Chang Hufflepuff
Solutions by @AlexanderHeatl2:
Unlock 3 remaining solutions by signing in and submitting your own entry