If A=random.randint(B, C) assigns a random value between 1 and 6 (both…

PYQ KVS TGT/PGT 2023

If A=random.randint(B, C) assigns a random value between 1 and 6 (both inclusive) to the identifier A, what should be the values of B and C, if all required modules have already been imported?

  1. A.

    B=0, C=6

  2. B.

    B=0, C=7

  3. C.

    B=1, C=7

  4. D.

    B=1, C=6

Attempted by 1602 students.

Sign up free to check your answer

Sign up free

Explore the full course: Kvs Nvs Tier 2 Computer Science

Loading lesson…