程序员用Python编写的抗击疫情代码诗,付中文翻译

在这里插入图片描述

def fight_against_epidemic_situation():     #   抗击疫情

	while is_in_the_epidemic():                        #疫情一日不散光,

              stay_at_home()                            		#我们就在家中藏。

              if want_to_go_out():                    		#如果仗胆四处逛,

                     break                                    		#喝酒打牌很嚣张。

	else:                                                   	 		#谁知疫情渐消亡,

              return                                          		#抗疫胜利见署光。

    while true:                                          			#闲逛乱走遇不详,

             quarantine()                                		#发烧隔离难还乡。

在这里插入图片描述

def working_for_MotherCountry():                                                     

#   为祖国做贡献

       if is_in_normal_days():                                                                

#若是平常日子的时间,

              if working_hard() or teach_children() or pro_family():            

#努力工作或者教育子女或是照顾家庭成员,

                     is_working_for_MotherCountry()

                                   #就是为祖国做贡献。

       else:                     #但是,

              if is_in_epidemic_days():

                                   #一旦疫情在神州肆虐盘桓,

                     if stay_home() and sleep_hole_day() and watch_mobile_phone():

                                   #呆在家里和睡觉还有在手机上聚焦视线,

                            is_working_forMotherCountry()

                                   #才是为祖国做贡献。

 

       return Be_at_home() and be_proud_of_myself() and I_am_Panda()

                                   #呆在家里,我是骄傲的大潘。

在这里插入图片描述

  • 2
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值