diff --git a/CSE16234_ex3_q1.py b/CSE16234_ex3_q1.py
new file mode 100644
index 0000000000000000000000000000000000000000..90161c162a14a6236fb2ae158744d52085d66a07
--- /dev/null
+++ b/CSE16234_ex3_q1.py
@@ -0,0 +1,11 @@
+path='/home/student4/sw.txt'
+sw_file=open(path,'r')
+d={}
+occ=sw_file.readlines()
+for i in occ:
+	if i in d:	
+		d[i]+=1
+	else:
+		d[i]=1
+print(d)
+