当前位置:网站首页>Biden wins the US election! Python developers in Silicon Valley make fun of Ku Wang in this way

Biden wins the US election! Python developers in Silicon Valley make fun of Ku Wang in this way

2020-11-09 10:49:58 Watch the corner.

Last week, there were no more hot spots for the whole nation to eat melons than the delayed listing of ants and the US election , As a programmer , I also like to focus on these things .

Remember last Wednesday, trump had several points ahead of Biden in swing state , I dare not open the stock software , It turns out that when you wake up on Thursday, it reverses , All the way back to today , Basically stable :

Readers in America told me that gongs and drums were already playing in the streets over there , And foreign netizens also have a variety of ways to express their joy . Like in Holland Python Designer Guido van Rossum I sent out a concise and comprehensive tweet:

I didn't expect to cause a lot of follower Our brainstorming :

To discover , Programming languages can not only express logic , It can also express emotions !

Let's use The most beautiful Python Language Let's express our congratulations to the sleeping king and regret for understanding him :

@adildeshmukh1[1]

import biden as president

  

@thorwhalen1[2]

del presidents["trump"]

  

@anthonynsimon[3]

from __future__ import biden

  

@Musa_Zadeh[4]

import time
for i in range(2021,2025):
    print("Hello Biden")
    time.sleep(365*24*60*60)
#  Biden was called the sleeping King , Because he fell asleep in public during a video conference with Hillary , Understand Wang gave him the nickname sleepy joe.

  

After reading the code of netizens , It's time for you to see my level of programming .

Skilled use of data structures :

presidents.append("biden")

  

Proficient in loop statements and auto increment operations :

while biden_votes < 270:
 biden_votes += 1

  

Yes random In depth understanding of modules :

import random

def elect_president(state):
 if random.random()<0:
  return "trump"
 return "biden"

  

Even multi process is not a problem :

from multiprocessing import Pool

pool = Pool(5)
res = pool.map(elect_president, swing_states) #  Swing state 

  

Not to mention exception trapping :

try:
 president = "biden"
except:
 president = "biden"

  

And object-oriented programming :

Class President:
 def __init__(self):
  self.country = "America"
  self.year = 2021
  self.name = "biden"
    
  def sleep(self):
   time.sleep(365*24*60*60)

  

except Python outside , And netizens use shell:

@wseidel[5]

pip uninstall trump
pip install biden

  

@shaharia[6]

sudo reboot whitehouse

  

The whole network atmosphere can't be too happy , After all, understanding Wang has brought us too much uncertainty and attitude reversal in the past few years , Participate in the stock market 、 Foreign trade and high-tech industry students are more or less negatively affected .

Be careful : If you're looking for python Well paid jobs . I suggest you write more about real enterprise projects and accumulate experience . Or you won't find a job , Of course, a lot of people have never been in a business , How can there be project experience ? So you have to find more enterprise projects and practice more . If you're lazy and don't want to find , You can also enter my Python Circle of communication :1156465813. There are some real enterprise project cases that I have written before in the group file . You can take it to study , If you don't understand, you can find me in your skirt , I'll answer you patiently when I have time .

 


The following is useless , For this blog to be crawled by search engines
(* ̄︶ ̄)(* ̄︶ ̄)(* ̄︶ ̄)(* ̄︶ ̄)(* ̄︶ ̄)(* ̄︶ ̄)(* ̄︶ ̄)(* ̄︶ ̄)
python What is it Zero basis to learn python How long will it take? python Why is it called a reptile
python Novice reptile tutorial python Crawler universal code python How do reptiles make money
python Basic course Web crawler python python Classic examples of reptiles
python Reptiles
(* ̄︶ ̄)(* ̄︶ ̄)(* ̄︶ ̄)(* ̄︶ ̄)(* ̄︶ ̄)(* ̄︶ ̄)(* ̄︶ ̄)(* ̄︶ ̄)
The above is useless , For this blog to be crawled by search engines

版权声明
本文为[Watch the corner.]所创,转载请带上原文链接,感谢