Skip to content

Commit ab1a8c3

Browse files
authored
Merge pull request #84 from adijdhv/master
Add files via upload
2 parents 523de83 + b592431 commit ab1a8c3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#it is the basic program for dictionary in python
2+
#dictionary works on the key - value concept
3+
4+
dict1 = dict()
5+
6+
dict1 = {
7+
1 :"JavaScript" ,
8+
2 :"TypeScript",
9+
3 : "C++"
10+
}
11+
print(" 1] At first dictionry looks like this ->> " ,dict1)
12+
dict1[1] = 'Python'
13+
print(" 2] After modifying the value of key 1 dictionary looks like this ->> ",dict1)

0 commit comments

Comments
 (0)