Try and except not catching 0 as input

后端 未结 0 1444
小蘑菇
小蘑菇 2020-12-06 03:42

simple question here. Im probably missing something obvious, but Im asking for user input and I want to catch if the user enters 0 or a negative value. My code works for neg

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