What minimum and maximum values will be generated for the following Python…

PYQ EMRS TGT/PGT (ESSE) 2023

What minimum and maximum values will be generated for the following Python statement? print(random.randrange(100) + 1)

  1. A.

    1 and 100

  2. B.

    0 and 100

  3. C.

    1 and 99

  4. D.

    0 and 99

Attempted by 2131 students.

Sign up free to check your answer

Sign up free

Explore the full course: Emrs Cs Tier 2

Loading lesson…