aboutsummaryrefslogtreecommitdiff
path: root/Python/Beginner training/Tasks.py
diff options
context:
space:
mode:
Diffstat (limited to 'Python/Beginner training/Tasks.py')
-rw-r--r--Python/Beginner training/Tasks.py22
1 files changed, 1 insertions, 21 deletions
diff --git a/Python/Beginner training/Tasks.py b/Python/Beginner training/Tasks.py
index d60a8bf..3ba4354 100644
--- a/Python/Beginner training/Tasks.py
+++ b/Python/Beginner training/Tasks.py
@@ -65,28 +65,8 @@ def Factoriel():
print(final_int)
-def CaesarCypher():
- while True:
- key = input("Type a key: ")
- msg = input("Type a message: ")
-
- decoded = [] ; encoded = []
- for c in msg:
- decoded.append(c - key)
- encoded.append(c + key)
-
- print(end="Decoded message: ")
- for c in decoded:
- print(end=c)
- print()
-
- print(end="Encoded message")
- for c in encoded:
- print(end=c)
-
#Divide()
#Histogram()
#NumberMatrix()
-#Factoriel()
-CaesarCypher() \ No newline at end of file
+#Factoriel() \ No newline at end of file