Select the correct output for the following Python code. for i in range(6, 1,…

PYQ EMRS TGT/PGT (ESSE) 2023

Select the correct output for the following Python code.

for i in range(6, 1, -2):
    print(end='*$$')
  1. A.

    *$$*$$

  2. B.

    *$$ *$$ *$$

  3. C.

    *$$*$$*$$

  4. D.

    *$$ *$$

Attempted by 2550 students.

Sign up free to check your answer

Sign up free

Explore the full course: Emrs Cs Tier 2

Loading lesson…