turtle库中的setup方法最多可以有4个参数, turtle.setup (width,height,startx,starty),。对于tyeperror,1.查找一下是不是有自己编写的代码是turtle.py的,与模块名重名了,如果有改名。2.检查一下turtle.cfg文件看看有关配置。另外代码最后要写上:turtle.mainloop()或者turtle.done()才能运行出结果。
ipad有python 的运行环境吗