Free PCEP-30-02 Exam Braindumps (page: 16)

Page 15 of 99

What is the output of the following snippet?

  1. [0, 1, 9, 16]
  2. [0, 1, 4, 16]
  3. [0, 1, 4, 9]
  4. [1, 4, 9, 16]

Answer(s): C



What is the expected output of the following code?

  1. [4, 3, 2, 1]
  2. [4, 3, 2]
  3. [4, 3]
  4. The code is erroneous.

Answer(s): B



Take a look at the snippet and choose one of the following statements which is true:

  1. nums and vals are of the same length
  2. nums is longer than vals
  3. vals is longer than nums

Answer(s): C



What is the expected output of the following code?

  1. 0 1
  2. 1 0
  3. The code is erroneous.
  4. 0 0

Answer(s): C






Post your Comments and Discuss Python Institute PCEP-30-02 exam with other Community members:

PCEP-30-02 Discussions & Posts