2020-03-18

有大神可以教我一下这道题用python如何做嘛!
《斯卡布罗集市》是一首著名的歌曲,但是请你把它加密(利用python和凯撒加密)后交给另一位朋友lisi(一个函数),lisi将解密这首歌曲,并让某一位叫做zhangsan的同学唱出来。请你设计程序。

涉及到:第三方模块pygame的安装和使用,内置模块time和os的应用,文件的读写。

歌词如下:
Are you going to Scarborough Fair
Parsley,sage,rosemary and thyme
Remember me to one who lives there
She once was a true love of mine
Tell her to make me a cambric shirt
(Oh the side of a hill in the deep forest green) Parsley,sage,rosemary and thyme
(Tracing of sparrow on the snow crested brown)
Without no seams nor needle work
(Blankets and bedclothes the child of the mountain)
Then she’ll be ture loveof main
(Sleeps unaware of the clarion call)
Tell her to find mean acre of land
(On the side of a hill a sprinkling of leaves)
Parsley,sage,rosemary and thyme
(Washes the grave with silvery tears)
Between the salt water and the sea strand
(A soldier cleans and publishes a gun)
Then she’ll be a true love of mine
Tell her to reap it with a sickle of leather
(War bells blazing in scarlet battalion) Parsley,sage,rosemary and thyme
(Generals order their soldiers to kill)
And gather it all in a bunch of heather
(And to fight for a cause they’ve long ago forgotten)
Then she`ll be a true love of mine

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值