Skip to content

Commit a973579

Browse files
committed
fixed typo
1 parent daebbf6 commit a973579

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_sessions/c3s4/8_hash_array_conversion.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ h = Hash[zipped] #=> {1 => 'one', 2 => 'two', 3 => 'three'}
3838

3939
h1 = Hash['a', 1, 'b', 2, 'c', 3]
4040

41-
h2 = Hash[[['a',1],['b',2],['c',3]]
41+
h2 = Hash[['a',1],['b',2],['c',3]]
4242

4343

4444
# Converting to arrays (and back?)
@@ -57,4 +57,4 @@ values = h.values
5757

5858
# How would you combine keys and values back into h?
5959
{% endhighlight %}
60-
{% endexercise %}
60+
{% endexercise %}

0 commit comments

Comments
 (0)