Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
创建尺寸为 350x350 的空白图片
我想出了这个:
def makeNewCanvas(): canvas = makeEmptyPicture(350, 350)
它什么也没做请帮忙
当您makeNewCanvas()在命令区域中调用时,它将创建空白图片并且不执行任何其他操作。
makeNewCanvas()
要查看您创建的内容:
def makeNewCanvas(): canvas = makeEmptyPicture(350, 350) show(canvas)
然后makeNewCanvas()在命令行中调用。