[Question][Hw2] How to initialize Hashtbl
with multiple values
#677
Replies: 3 comments
-
Loop is your best friend: |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I see @bonjune , thanks for the detailed reply. I thought |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Name: Murad Bashirov
Hello. I'm looking for a way to initialize
Hashtbl
with many values. But after searching a lot, I couldn't find anything, so does that mean I can't initializeHashtbl
from given values? I am specifically looking for something like this, I give a list of tuples and it just creates the Hashtbl. I don't want to have 225 calls toHashtbl.add
.Thanks.
Beta Was this translation helpful? Give feedback.
All reactions