Answers for "how to create a function with random in python"

11

python random number

from random import randint

print(randint(1,3))

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

Code answers related to "how to create a function with random in python"

Python Answers by Framework

Browse Popular Code Answers by Language