Help dic | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Help dic

How to put two thing in only one var in a dictionary?

28th Sep 2018, 3:20 AM
I Am Arthur
I Am Arthur - avatar
3 Answers
+ 7
Oh i thought only directly putting values and no arrays , tuples. Nice find
28th Sep 2018, 5:18 AM
Frost
Frost - avatar
+ 5
In a dictionary, a single key will hold only a single value. So i don't think you can store two values if that's what you meant.
28th Sep 2018, 4:32 AM
Frost
Frost - avatar
+ 1
Frost I searched a little bit and found a way https://code.sololearn.com/catW8GLLBaCa/?ref=app
28th Sep 2018, 5:16 AM
I Am Arthur
I Am Arthur - avatar