Article | doug \

Source: Python Technology “ID: pythonall”

When it comes to programmers, everyone’s first impression is that they are introverted and not good at speech. Their clothes are all plaid shirts and jeans. In fact, it is not so, although we deal with machines all day long, we may not be able to say a few words after a day, but we programmers are also human ah, also have seven emotions and six desires, but also understand romance, today paisenjiang will take you to appreciate the programmer’s alternative romance.

You’ve all written love poems to your date, and it’s cute how excited and happy she looks when she opens the envelope. Today we’re going to look at love poems that programmers write to objects in code.

0x00

Meet you life is increased otherwise just a waste

while True:
    if meet_you: life++
    else: life--
Copy the code

0x01

I fell in love with you the first time I saw you in a crowd of 7.5 billion

while random(0.7_500_000_000) != you: continue
while True:
    love(you)
Copy the code

0x02

Since I met you, I can’t stop thinking of you

void missing_you() {}
for(time = meet_you; ; time++) missing_you()Copy the code

0x03

I’ll be right here, waiting for the wind

you.come() ? rain.stop() : I.wait()
Copy the code

0x04

Love you ten thousand years

while year <= 10000:
    print("I Love You!")
    year++
Copy the code

0x05

Life is full of surprises but as long as we face them together we can last forever

try: our_life()
except: face_together()
finally: love_forever()
Copy the code

0x06

I look forward to tomorrow but when you leave it stays yesterday

MyLife = {"I""Yesterday"."You""Tomorrow"}
del MyLife["You"]
MyLife.values()
Copy the code

0x07

I am the helmsman returning from the wind and waves and drowning in your silent and deep eyes

Helmsman me = newHelmsman() while(! me.meet(you)){me.navigate} me.drown()Copy the code

0x08

Love you till the end of time

while(! world.destroy()){ me.loveYou() }Copy the code

0x09

Summer rain and snow, river water exhaustion, winter thunder earthquake, mountain no mausoleum, heaven and earth, but dare and jun must

if(summer.snow==True 
    && river.water==None
    && winter.thunder==True
    && mountain.arris==None
    && sky.height==ground.height):
    I.withyou=False
else:
    I.withyou=True
Copy the code

conclusion

Today take you to appreciate the programmer’s romance, 10 love poems mean perfect, have not been moved to ah. In addition, I have sorted out the 10 love poems. If you need them, you can get them by replying to “520” in the chat box of partner public account. Last but not least, Pesensauce wishes all single people this year. If you’re in a relationship, you’re in love, and if you’re married, you’re making a lot of money.

PS: If you feel good, please “watch” and “like”.

PS: Reply “Python” within the public number to enter the Python novice learning exchange group, together with the 100-day plan!

Old rules, brothers still remember, the lower right corner of the “watching” click, if you feel the content of the article is good, remember to share moments to let more people know!

[Code access ****]

Identify the qr code at the end of the article, reply: 520