Your question is Even or Odd Check. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
The GEICO Mobile claims experience receives numeric claim identifiers and needs a small utility to classify each identifier as "even" or "odd". Given one integer, determine its parity programmatically.
Implement classify_parity(number).
number, an integer."even" if the integer is divisible by 2; otherwise, return "odd".def classify_parity(number):