Does randint function actually throws an error if low and high are equal?
shaakir7 opened this issue · 0 comments
shaakir7 commented
Hi, @kying18 , nice to meet you!
import random
low = 3
high = 3
guess = random.randint(low, high)
print(guess)
this will result as guess = 3, So can you explain that why did you said that "randint" will throw an error if low and high are equal.
I checked it separately but it didn't give me an error.