猫史档案馆


【Python作品分享】全互联网最奇葩病毒【作品秀】

用户:全宇宙最酸的柠檬全宇宙最酸的柠檬查看:13 回复:9 评论:13 创建时间:2021-12-12T15:46:29


【作品展示】

center_image

 

【作品介绍】

第一期跳转:

https://shequ.codemao.cn/community/415605

这次变本加厉,turtle库也来捣乱了,看你的电脑能活多久

 

【作品源代码】

import random
import turtle
import time

__Pen = turtle.Pen()

#开始进入Python的世界
turtle.bgcolor("#660000")
__Pen.pencolor("#cc33cc")
print('=ε=ε=┏(°ロ°;)┛word病毒来临!!ヾ(>Д<;))))..... 逃~~')
a = 1
b = ('word ' * a)
print(b, a)
Pen.pendown()
for __count in range(50):
    a += (2 * a)
    b = ('word ' * a)
    print(b)
    __Pen.forward(1)
    __Pen.write('ono')
    a = random.randint(1, 2)
    if a == 1:
        Pen.right(random.randint(1, 2))
    else:
        Pen.left(random.randint(1, 2))
print('病毒游戏终于结束啦!(~ ̄▽ ̄)~ ( ̄▽ ̄)/')
print('我的电脑都要卡爆了!!!!!!o(╥﹏╥)o')
time.sleep(1)
print('等等等等病毒反弹=ε=ε=┏(°ロ°;)┛!!!!!!!!!!!!!!!!!!!!')
for __count in range(70):
    a += (2 * a)
    b = ('word ' * a)
    print(b)
for __count in range(70):
    a += (a * 2)
    b = ('基地可佳都科技 ' * a)
    print(b)
    __Pen.forward(1)
    __Pen.write('喵')
    a = random.randint(1, 2)
    if a == 1:
        Pen.right(random.randint(1, 2))
    else:
        Pen.left(random.randint(1, 2))
print('基喵基我的电脑真的要喵了!!!!!!!!(╥╯^╰╥)꒰╬•᷅д•᷄╬꒱!!!!!!!')

 

【提示】

部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:

https://python.codemao.cn


回复

上一页1 页 / 共 1下一页
全宇宙最酸的柠檬全宇宙最酸的柠檬

~~~~hhc

点赞0


评论


全宇宙最酸的柠檬全宇宙最酸的柠檬

sofa

 

点赞0


评论


全宇宙最酸的柠檬全宇宙最酸的柠檬

《全猫站最强病毒》

点赞1


评论


全宇宙最酸的柠檬全宇宙最酸的柠檬

为了不让你喵机,故意吧循环的的次数调小,如果你想蓝屏,就把for i in range(50)调成while true:

点赞0


评论


MathCalculusMathCalculus

从某种角度来看,确实奇葩

点赞0


评论


小白天天向上小白天天向上

哇,你也学python!

点赞0


评论


MathCalculusMathCalculus

您怎么删评论了?

点赞0


评论


芙兰朵露_斯卡雷特芙兰朵露_斯卡雷特

下 次 丕 定

点赞0


评论


穿山甲汤穿山甲汤

imgsrc="https://static.codemao.cn/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E7%BF%BB%E7%99%BD%E7%9C%BC.gif"alt="emotion_编程猫_翻白眼"为啥报错。。。

点赞0


评论