Question

Which of the following statements will generate a random integer from 1 up to (but not including) 100?
Select one:

a.
rand = random.randrange(0,100)

b.
rand = random.randrange(0,99)


c.
rand = random(0,99)


d.
rand = random(0,100)

Answers

Answered by GPT 3.5
a. rand = random.randrange(0,100)
There are no human answers yet. A form for humans to post answers is coming very soon!

Related Questions