Dictionaries | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

Dictionaries

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 Respuesta
+ 3
You forgot to add a link to your code ☝
27th Apr 2022, 4:17 AM
Ipang