Python - Standard Library Usage
What will be the output of this code?
import random print(random.randint(1, 3))
import random print(random.randint(1, 3))
random.randint(1, 3) returns a random integer including both 1 and 3.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions