偶數和奇數

even? 方法可用於確定數字是否為偶數

4.even?      # => true
5.even?      # => false

odd? 方法可用於確定數字是否為奇數

4.odd?       # => false
5.odd?       # => true