diff --git a/CSE16265_ExNo02_09.py b/CSE16265_ExNo02_09.py
new file mode 100644
index 0000000000000000000000000000000000000000..6323c62598f3879445eaf5c3e5c55bbbc92cc36f
--- /dev/null
+++ b/CSE16265_ExNo02_09.py
@@ -0,0 +1,12 @@
+a=input("Enter the string")
+shift=int(input("shift value "))
+print(a)
+f=""
+for i in range(len(a)):
+	c=a[i]
+	if c.isupper():
+		f+=chr((ord(c)+shift-65)%26+65)
+	else:
+		f+=chr((ord(c)+shift-97)%26+97)
+print(f," encrypted string")
+