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 an integer between 1 and 3 inclusive.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions