I prefer response not in ['yes', 'y'], where you make that into a constant array. Just my preference.