all AI news
Dictionary📚 - Python
April 7, 2024, 9 p.m. | Sakshi
DEV Community dev.to
Python Unleash'd 12
Hi
Starting with new data structure today.
We are done with sets.
Maps in C++ never annoyed me, so helpful data structure, I expect same from dictionary.
What is dictionary in python?
- Stores values in key value pair.
- curly brackets are used
- Keys are immutable, while values are duplicate and mutable
- Values can be of any data type
- Key names are case sensitive
Here is an example from GeeksForGeeks too see how to create dictionary
Dict = …
beginners computerscience data dictionary duplicate expect key keys maps programming python stores value values
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Software Engineer for AI Training Data (School Specific)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Python)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Tier 2)
@ G2i Inc | Remote
Data Engineer
@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania
Artificial Intelligence – Bioinformatic Expert
@ University of Texas Medical Branch | Galveston, TX
Lead Developer (AI)
@ Cere Network | San Francisco, US