MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / get_input

Method get_input

Caesar_Cipher/Caesar_cipher.py:5–14  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3 self.key = key
4
5 def get_input(self) -> None:
6 while True:
7 blank_string = str(input("Enter string to decrypt: "))
8 if blank_string.isalpha():
9 blank_string = blank_string.lower()
10 self.blank_string = blank_string
11 break
12 else:
13 print("Input is not valid")
14 continue
15
16 def encrypt_string(self) -> str:
17 output = ""

Callers 1

Caesar_cipher.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected