用户:查看:2 回复:7 评论:2 创建时间:2020-04-13T18:43:48
【作品展示】

【作品介绍】
由章德邻独家引进3.7.44月13日16时,将Python3.7.4引进学而思编程。
4月13日18时,将Python3.7.4引进编程猫。
点赞!!!
看看封面!是我在ClassIn拍的!!!
分享一下我的作品······
【作品源代码】
print(
'Python 3.7.4 (tags/v3.7.4:e0935112e, Jul 8 2019,19:29:22) [MSC v.1916 32 bit (Intel)] on win32\nType"copyright","credits" or "license" for more information.')
while True:
x = input('>>>')
if x == "copyright":
print("Copyright(c) 2001-2019 Python Software Foundation.")
if x == "credits":
print("Thanks to CWI,CNRI,BeOpen.com,Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information.")
if x == "license":
print("See https://www.python.org/psf/license")
if x in globals().keys():
print(globals()[x])
continue
try:
exec(x)
except Exception as err:
print(err)
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn
不起眼的账号我来更nb的:
from qrcode import*
from PIL import Image
print("这里是二维码制造机")
c=input("你想要什么颜色的二维码(green,blue,yellow,orange,red(只能输入上述几个单词))")
fg=QRCode()
fg.add_data("")
img=fg.make_image(fill_color= c)
img.show()
注:需要学而思python游戏创造或客户端,生成五颜六色的
点赞0
评论