Answers for "what is rand in python based on"

11

python random number

from random import randint

print(randint(1,3))

#Possible Outputs#
#1
#2
#3
Posted by: Guest on March-07-2020

Python Answers by Framework

Browse Popular Code Answers by Language