python入门每日一练,可以提高您的python水平,今天是1月24日,上一课的答案是
b
今天的题目是
import random
print(random.randist(1,2023))
问:输出结果可能是什么?
a.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'random' has no attribute 'randist'. Did you mean: 'randint'?
b.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'random' is not defined
c.2022
今天的每日一练就到这里,明天公布答案。