我在Windows上研究Python,random.shuffle(),一个函数被读作一个atrribute,怎么了?



这是带有错误的图片,在python idle上可以,但是在命令行上错误,有什么错吗?Python版本3.6.4,Win10 64bit,感谢您指导我,我是Python的新手,示例是在儿童Python上,Jason Briggs

将文件名从andural.py更改为studingrandom.py,文件名与模块相同,因此是错误的

最新更新