Python 3 NameError with input() when entering a string

前端 未结 0 802
無奈伤痛
無奈伤痛 2020-11-30 11:20

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:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题