4. creating the frequencies hash


#1

I need some help with this problem i have tried everything can somebody please help me you will be an absolute BOSS


#2

Hey

If you post the code you have at the moment, I'd be willing to take a look at what could be wrong


#3

puts gets.chomp

var = words
.split_text


#4

h=Hash.new("nothing here")

puts h

puts h["kitty"]

i have error for this. can somebody help me?


#5

It took me forever to figure this out, and I finally searched it online because my brain is fried over all this.
frequencies = Hash.new(0)


#6

Thanks everyone but i finally figured it out YOU ALL ARE ABSOLUTE BOSSES!!!!!!!! :sunglasses: