原文:python random報錯:AttributeError: module 'random' has no attribute 'randint'

該報錯是由於文件命名原因,文件命名不能是python內置方法或者包名稱,否則會報錯:AttributeError: module random has no attribute randint ...

2021-01-09 17:26 0 430 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM