Day 6.4 Exercise 39 Hashes, Oh Lovely Hashes

Here’s my work.
Here’s the link to exercise 39.

Ex39 Code
Ex39 Code
Ex39 Code 2
Ex39 Code 2
Ex39 Output
Ex39 Output
Ex39a Code
Ex39a Code
Ex39a Code 2
Ex39a Code 2
Ex39a Output
Ex39a Output

Study Drill

1. Do this same kind of mapping with cities and states / regions in your country or some other country.
Done. Ex39 is my work.

2. Find the Ruby documentation for hashes and try to do even more things to them.
I still find it hard to learn using documentation.

3. Find out what you can’t do with hashes. A big one is that they do not have order, so try playing with that.
??? I dont understand what this means.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s