PRP201c_-_FA_2024_-_FE_3168.webp
D

PRP201c_-_FA_2024_-_FE_3168.webp

Kizspy | Question: 31
(Choose 1 answer)
In Python, how can you import the random module and use it to generate a random integer between 1 and 10?
A. import random followed by random.randint(1, 10)
B. from random import * followed by randint(1, 10)
C. import random.randint followed by random.randint(1, 10)
D. import random followed by rand(1, 10)

Thông tin

Category
PRP201c
Thêm bởi
dinhhoa305
Ngày thêm
Lượt xem
1,287
Lượt bình luận
3
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom