random模块调用不了

来源:4-2 实操实现:随机生成双色球

慕哥2570534

2021-06-22 04:29:41

我输入import random变成灰色,提示文字是:


​Inspection info: This inspection detects names that should resolve but don't. Due to dynamic dispatch and duck typing, this is possible in a limited but useful number of cases. Top-level and class-level items are supported better than instance items.

相关截图:

http://img.mukewang.com/climg/60d0f62b09fb08a112390265.jpg

写回答

1回答

时间,

2021-06-22

同学,你好!同学只是导入了该模块并没有使用,因此会是同学截图中的内容。在程序中使用后就没有了

http://img.mukewang.com/climg/60d14cb809c469db03790075.jpg

祝学习愉快!

0

0 学习 · 8160 问题

查看课程