I am trying to make a gpa grade calculator in python, but when the user inputs a string it brings up a name error. Does anyone know why this happens?
Code: