猫史档案馆


【Python作品分享】reverse message【教程贴】

用户:很懒的蛋蛋很懒的蛋蛋查看:0 回复:0 评论:0 创建时间:2023-04-02T15:01:05


【作品展示】

center_image

 

【作品介绍】

they can make the cipher,encryption message

 

【作品源代码】

# 密码
b = 0

while True:
    message = input('how what is message?')
    ask = ''
    a = len(message)
    while (a != 0):
        ask = (ask + message[(a - 1)])
        a = (a - 1)
    print(ask)
    b = input('press Q end this')
    if (b is 'Q'):
        break

 

【提示】

部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:

https://python.codemao.cn


回复

上一页1 页 / 共 0下一页