File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 11def main () -> None :
2- user_input = input ("\t Press enter to encrypt a message using a modified Caesar's Cipher. Enter 'quit' to exit the program\n >>> " ).lower ()
3-
4- if user_input == "quit" :
5- return
2+ if input ("\t Press enter to encrypt a message using a modified Caesar's Cipher. Enter 'quit' to exit the program\n >>> " ).lower () == "quit" : return
63
74 encryption_key = int (input ("\t Enter encryption key\n >>> " ))
85 message_original = str (input ("\t Enter your message\n >>> " ))
@@ -35,8 +32,6 @@ def main() -> None:
3532 message_encrypted += chr (char_unicode_new )
3633
3734 print ("Encrypted message : " + message_encrypted )
38-
3935 main ()
4036
41- if __name__ == "__main__" :
42- main ()
37+ if __name__ == "__main__" : main ()
You can’t perform that action at this time.
0 commit comments