Certified Entry-Level Python Programmer (PCEP) - Practice Exams by Karamagi Robert

Certified Entry-Level Python Programmer (PCEP) - Practice Exams by Karamagi Robert

Author:Karamagi, Robert [Karamagi, Robert]
Language: eng
Format: epub
Published: 2021-01-25T16:00:00+00:00


​["li", "fei"]

​['li', 'fei']

some_names + more_names

30. The Python interpreter takes the code that you write and converts it to the language that the computer’s hardware understands.

Is this statement True or False?

​True

​False

Practice Exam 10

1. What will be the output of mentioned below program:

x = range(3, 10, 2)

for n in x:

print(n)

A.

5

7

9

B.

3

5

7

9

C.

3

9

D.

3

10

2

2. What does the following code return?

a = [x ** 2 for x in range(6)]

print(a)

[0, 1, 4, 9, 16, 25]



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.