Welcome to the Treehouse Community
Looking to learn something new?
Student records not showing data even after the prompt closes?
Could somebody check out my code please as I don't seem to be able to print student records to the screen?
Steven Parker216,083 Points
The program seems to work, but I noticed some aspects of how it operates that might not be as you intended:
- the search is case-sensitive, so the name must match exactly including capitalization
- the "print" overwrites the output, so only the last matched student will be shown after "quit"
- no error message is provided if a search is not found
All of these can be corrected with additional code, but it operates as-is if you observe these restrictions.