3 ms·
Updated it to your suggestion.
by garrettdreyfus 13y ago
Updated it to your suggestion.
- codezero 13y agoOne more suggestion, make sure to test against lower case: reply = str(raw_input(question+' (y/n): ')).lower() You could even add .strip() on there if you want to make sure it doesn't have leading spaces.
- garrettdreyfus 13y agoAnother good one, thanks.