猫史档案馆


如何逼疯你的Python编译器

用户:yzq120806yzq120806查看:16 回复:13 评论:16 创建时间:2022-07-14T10:21:31


先输入这行代码:center_image

然后输入print()语句:center_image

 

接着在括号里输入随便什么东西,这里用Hello做例子:center_image

然后运行!

(温馨提示:后果自负)


回复

上一页1 页 / 共 1下一页
星河非昨夜星河非昨夜

。。。

点赞0


评论


七彩猫七彩猫

。。。

点赞0


评论


yee089yee089

...

点赞1


评论


像素狗头西像素狗头西

imgsrc="https://static.codemao.cn/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E7%82%B9%E8%B5%9E.gif"alt="emotion_编程猫_点赞"

点赞0


评论


鱼丶鱼丶

。 。 。

那请问那些pygame的循环或tkinter的循环不也卡死?

点赞0


评论


潮汐汐汐子潮汐汐汐子

哈哈哈,我几万的苹果电脑都快卡死了。

点赞1


评论


yzq120806yzq120806

center_image

这两行代码其实就是这个意思

点赞0


评论


#逸一时误一世##逸一时误一世#

如果你用IDLE(python3自带编辑器),会发现卡不喵,因为IDLE每一行打印有大概20ms的间隔,所以完全没问题

点赞2


评论


#逸一时误一世##逸一时误一世#

...

 

点赞0


评论


知足的乌力力8OlB知足的乌力力8OlB

import time
import turtle as t


t.speed(1e+72)
r = 1
g = 1
b = 1
x = 1
while (r < 255):
t.pencolor(r, g, b)
t.forward((x / 5))
t.left(90)
t.circle((x / 5))
x = (x + 1)
r = (r + 1)
while (g < 255):
t.pencolor(r, g, b)
t.forward((x / 5))
t.left(90)
t.circle((x / 5))
x = (x + 1)
g = (g + 1)
while (b < 255):
t.pencolor(r, g, b)
t.forward((x / 5))
t.left(90)
t.circle((x / 5))
x = (x + 1)
r = (r - 1)
b = (b + 1)
while (r < 255):
t.pencolor(r, g, b)
t.forward((x / 5))
t.left(90)
t.circle((x / 5))
x = (x + 1)
g = (g - 1)
r = (r + 1)
time.sleep(255)

这个好看些,网页版要去掉t.colormode(255)

 

点赞1


评论


杨锦和langfang杨锦和langfang

我也给你来几行喵机代码

from os import * while True:   system("start cmd")

点赞0


评论


yzq120806yzq120806

公告:

pythonV2.0版本以修复此BUG

点赞0


评论


PlumStevenPlumSteven

插句话,Python彩蛋:输入import this(最好在命令行,其他我不知道行不行)有惊喜!

具体方法:

1、打开c喵

2、输入python(或python3)

3、输入import this按回车

点赞0


评论