0

How do i print a random integer between a set of two other intergers?

I want my code to select a number between 1 and 9, what would i pit for that to happen?

18th Apr 2017, 1:47 AM
Brandon Rhodes
1 Answer
+ 2
# Try This import random x = (random.randint(1, 9)) print(x)
18th Apr 2017, 2:02 AM
SyntaxError
SyntaxError - avatar