Using OR in Python for a yes/no?

后端 未结 4 1354
旧巷少年郎
旧巷少年郎 2021-01-21 23:51

I\'m wanting to have a \"y/n\" in Python, which i\'ve successfully done, but I want the user to be able to input a \"y\" or a \"Y\" and it accepts both.

Here\'s a short

4条回答
提交回复
热议问题