Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

closed Is there a randomizer function in this version of python?

+2 votes
asked Mar 2 by Colin Broyles (440 points)
closed Mar 4 by Colin Broyles
If so, How do I use it?

(Python 3 question)
closed with the note: It has been Answered

1 Answer

+2 votes
answered Mar 2 by Peter Minarik (22,620 points)
selected Mar 4 by Colin Broyles
 
Best answer

Please, read this: https://www.w3schools.com/python/ref_random_randint.asp

Example

import random

print(random.randint(3, 9))
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...