2021-01-12 用代码给喜欢的女孩写情话(错误很多,但很好玩)

用代码表个白

#!/usr/bin/env python3
# coding=UTF-8
import workhard
import studyhard
class I_and_Xiaojinyu:
    def __init__(self):
        self.Xiaojinyu = {
     }
        self.I = {
     }

    def luckiness_and_happiness(self):
        self.Xiaojinyu['luckiness_and_happiness'] = self.Xiaojinyu['eat'] + self.Xiaojinyu['drink']
        + self.Xiaojinyu['play']+ self.Xiaojinyu['mood'] + self.Xiaojinyu['loneliness']
        self.I['luckiness_and_happiness'] = self.Xiaojinyu['luckiness_and_happiness']
        for everyday in days:
            if self.Xiaojinyu['luckiness_and_happiness']!=None:
                print("Well,Xiaojinyu is the best beautiful girl in the world!!!")
            else:
                I.studyhard.get_skill()
                I.workhard.get_money()
                for skill,money in I.items():
                    self.Xiaojinyu['eat'] = I.money.beauty_food
                    self.Xiaojinyu['drink'] = I.money.bubble_tea
                    self.Xiaojinyu['play'] = I.money.attractions
                    self.Xiaojinyu['mood'] = I.skill.fun
                    self.Xiaojinyu['loneliness'] = I.skill.accompany
                    if self.Xiaojinyu['luckiness_and_happiness']!=None:
                        print("Hahaha,Xiaojinyu is still,of course, the best beautiful girl in the world!!!")
                        break
                    else:
                        continue

你可能感兴趣的:(玩转代码,python)