Python表白C#?文末有彩蛋!
版权所有,禁止转载
孤陋寡闻了
Python:
我不是一定要比你厉害,只是当又比你意赅,你写了好几行,我只用一行。
C#:
? ? ?
小知识
01
Python实现爱心最佳答案
import turtle
import math
import time
turtle.pen()
t=turtle
t.up()
t.goto(0,150)
t.down()
t.color('#ea402c')
t.begin_fill()
t.fillcolor('#ea402c')
t.speed(1)
t.left(45)
t.forward(150)
t.right(45)
t.forward(100)
t.right(45)
t.forward(100)
t.right(45)
t.forward(100)
t.right(45)
t.forward(250+math.sqrt(2)*100)
t.right (90)
t.speed(2)
t.forward(250+100*math.sqrt(2))
t.right(45)
t.forward(100)
t.right(45)
t.forward(100)
t.right(45)
t.forward(100)
t.right(45)
t.forward(150)
t.end_fill()
t.goto(-10,0)
t.pencolor('white')
#L
def getL(t):
t.pensize(10)
t.goto(-50,0)
t.goto(-50,80)
t.up ()
#I
def getI(t):
t.goto(-100,0)
t.down()
t.goto(-160,0)
t.goto(-130,0)
t.goto(-130,80)
t.goto(-160,80)
t.goto(-100,80)
t.up()
#O
def getO(t):
t.goto(10,25)
t.down()
t.right(45)
t.circle(25,extent=180)
t.goto(60,55)
t.circle(25,extent=180)
t.goto(10,25)
t.up()
t.goto(75,80)
t.down()
t.goto(100,0)
t.goto(125,80)
t.up()
t.goto(180,80)
t.down()
t.goto(140,80)
t.goto(140,0)
t.goto(180,0)
t.up()
t.goto(180,40)
t.down()
t.goto(140,40)
#C#
def getC(t):
t.up()
t.goto(-60,-80)
t.down()
t.write("C#", font=('宋体',60,'normal'))
t.hideturtle()
getL(t)
getO(t)
getI(t)
getC(t)
time.sleep(9)
C # ?? ?
Python:
你就把我忘了吧
我是你生命的过客
世界上人来人往那么多
你何必在乎我
C#:
滚!!
JAVA:
???
C:
咳咳
SQL:
drop database xxx;
Linux: rm -rf /*
JAVA、C、Python、C#、SQL:
Linux,大哥留个情
相关文章
- Python学习网站
- Python实现LDA模型
- Python实现简单GUI程序
- Pycharm设置python文件模板
- FastAPI从入门到实战(1)——Python类型提示
- 【python爬虫】爬取洛谷习题并转为md格式
- [oeasy]python0033_任务管理_jobs_切换任务_进程树结构_fg
- 交互式仪表板!Python轻松完成!⛵
- PythonRobotics | 基于python的机器人自主导航
- KG4Py:Python代码知识图谱和语义搜索的工具包
- 在Centos中安装Python3_Python自学第一节
- Python脚本介绍与基础函数_Python自学第二节
- Python运算符使用_Python自学第三节
- Python输入输出函数_Python自学第四节
- Python选择结构IF语句_Python自学第五节
- Python循环结构for和while语句_Python自学第六节
- Python类和对象概念_Python自学第七节
- Python字符串的索引和切片_Python自学第八节
- Python字符串遍历_Python自学第九节
- Python进制转换方法_Python自学第十节