0
I could get a little guided about dictionary in python I still don't get to the lesson but it became necessary for me to learn!
Help
4 Answers
+ 3
Wendy Abigail Aro Morales, First of all, you should name the programming language by creating a tag.
The best way to get things understand is to go through the tutorial. You can try with the demonstrated samples, modify them and see what will be the result.
Please keep in mind, that sololearn is made that you can learn by yourself. If you get stuck somewhere, come back and place a well formed question here.
Thanks for understanding!
+ 1
Hi Wendy Abigail Aro Morales,
I found this video helpful...
https://youtu.be/daefaLgNkw0
You'll get the basics in just 10 minutes.
+ 1
Thank you Uvu
+ 1
Dictionaries are used to store data values in key:value pairs.
A dictionary is a collection which is unordered, changeable and does not allow duplicates.
Dictionaries are written with curly brackets {} , and have keys and values:
[[ Note: Python dictionaries are equals to javascript object ]]
Example:
dictonaries = {
"name":"Sabbir",
"age": 17
}
print(" My name is :",dictonaries["name"]," \n","My age is : ",dictonaries["age"])