- Notifications
You must be signed in to change notification settings - Fork 731
Expand file tree
/
Copy pathDictionary.py
More file actions
Latest commit
20 lines (13 loc) · 455 Bytes
/
Copy pathDictionary.py
File metadata and controls
20 lines (13 loc) · 455 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
defmain():
#Student={'Name':"hussein alrubaye",'Age':27,'Slary':232.5};
Student=dict(Name="hussein alrubaye",Age=27,Slary=232.5);
Student['Name']="Hussein Ahmed"
Student["Dept"]="software engineer"
print(Student,type(Student))
delStudent["Dept"]
print(Student,type(Student))
print(Student['Name'])
print(Student['Age'])
Student.clear()
print(Student,type(Student))
if__name__=='__main__':main()