Ruby - Hashes
How can you create a hash with symbol keys where the values depend on a condition?
For example, keys :a and :b with values 1 if even, else 0 for numbers 2 and 3 respectively.
For example, keys :a and :b with values 1 if even, else 0 for numbers 2 and 3 respectively.
