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

Page 52 of 99

If a list passed into a function as an argument, deleting any of its elements inside the function using the del instruction:

  1. will not affect the argument
  2. will cause a runtime error
  3. will affect the argument

Answer(s): C



What is the output of the following code snippet?

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

Answer(s): C



isalnum() checks if a string contains only letters and digits, and this is:

  1. A module
  2. A function
  3. A method

Answer(s): C



What is the output of the following snippet?

  1. 9
  2. The snippet is erroneous.
  3. 0
  4. 3

Answer(s): A






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

PCEP-30-02 Exam Discussions & Posts