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


I am creating a dictionary which has keys that has ticker symbols for stocks and values as numbers. How do I declare a value for a specific key entered by a user? I set up a variable as my user input and validating if statements but not working.

26th Apr 2022, 11:57 PM
Knowledge Is Power
Knowledge Is Power - avatar
1 Answer
+ 3
You forgot to add a link to your code ☝
27th Apr 2022, 4:17 AM