New course! Every coder should learn Generative AI!
Try a free lesson0
Is it possible to generate a random String between 1 and 3 in Python?
I need it for a code
1 Answer
0
Are you looking for this?
import random
print (str(random.randint(1, 3)))
I need it for a code