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)

1 answer

a. rand = random.randrange(0,100)
Similar Questions
  1. 14.Which of the following statements is FALSE? Random words can be generated as well as random numbers. The random module is a
    1. answers icon 1 answer
  2. Suppose n is an integer. Select all statements below that are true:(2 points) Responses n2 + n is always an even integer n 2 + n
    1. answers icon 1 answer
  3. Suppose n is an integer. Select all statements below that are true: (choose 3)A) n^2 + n is always an even integer*** B) n^2 + n
    1. answers icon 10 answers
    1. answers icon 1 answer
more similar questions