From fb832cf5ffef0048e41458399022ed40dc2f952f Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 16 Apr 2023 11:10:43 +0800 Subject: [PATCH] auto save --- 8.py | 12 +++++++++--- diy4.py | 12 ++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 diy4.py diff --git a/8.py b/8.py index 47acb8b..c046b53 100644 --- a/8.py +++ b/8.py @@ -1,3 +1,9 @@ -message="诺依,周末一起去看动漫展吧!" -for i in message: - print(i) \ No newline at end of file +a='iodhtfgkdjsghfdj' +for i in a: + print(i) + + + + + + diff --git a/diy4.py b/diy4.py new file mode 100644 index 0000000..f39f754 --- /dev/null +++ b/diy4.py @@ -0,0 +1,12 @@ +import random + +# 私钥 +key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!" +# 要加密语句 +message = "诺依,周末一起去看动漫展吧!" +# 请使用私钥key,对message进行加密 +b=random.choice(key) +print(b) + + + -- libgit2 0.25.0