Free Python Institute PCEP-30-02 Exam Questions

Become Python Institute Certified with updated PCEP-30-02 exam questions and correct answers

Page:    1 / 114      
Total 569 Questions | Updated On: Oct 27, 2025
Add To Cart
Question 1

What will be printed to the output after the following code is executed?secret_list = [[5, 4] for i in range(4)]print(secret_list[2][1])


Answer: C
Question 2

What will be the output of the following code?x = [    'a',    'b',    {        'one': 1,        'two':        {            'x' : 10,            'y' : 20,            'z' : 30        },        'three': 3    },    'c',    'd']print(30 in x[2])


Answer: D
Question 3

What will be the output after running the following code?print(len('H'), len('I!'), sep='', end='!')


Answer: C
Question 4

What will be the output after running the following code?dict = {}dict[0] = 'Work'dict['Hobby'] = ['Sport', 'Languages']print(dict)


Answer: C
Question 5

What will be the output of the following code?def get_number():    for i in []:        yield i print(next(get_number()))


Answer: B
Page:    1 / 114      
Total 569 Questions | Updated On: Oct 27, 2025
Add To Cart

© Copyrights DumpsCertify 2025. All Rights Reserved

We use cookies to ensure your best experience. So we hope you are happy to receive all cookies on the DumpsCertify.