Computer Science

What values are generated when the function range(6, 0, -2) is executed ?

  1. [4, 2]
  2. [4, 2, 0]
  3. [6, 4, 2]
  4. [6, 4, 2, 0]
  5. [6, 4, 2, 0, -2]

Python Control Flow

34 Likes

Answer

[6, 4, 2]

Answered By

8 Likes


Related Questions