Big Halloween Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

All PCEP-30-02 Test Inside Python Institute Questions

Page: 2 / 3
Total 42 questions

PCEP - Certified Entry-Level Python Programmer Questions and Answers

Question 5

Insert the code boxes in the correct positions in order to build a line of code which asks the user for an integer value and assigns it to the depth variable.

(Note: some code boxes will not be used.)

Options:

Question 6

How many hashes (+) does the code output to the screen?

Options:

A.

one

B.

zero (the code outputs nothing)

C.

five

D.

three

Question 7

Assuming that the phonc_dir dictionary contains namemumber pairs, arrange the code boxes to create a valid line of code which retrieves Martin Eden's phone number, and assigns it to the number variable.

Options:

Question 8

Drag and drop the literals to match their data type names.

Options:

Page: 2 / 3
Total 42 questions