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.
相关截图:

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

祝学习愉快!
相似问题