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: Jun 24, 2025
Add To Cart
Question 1

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


Answer: C
Question 2

What will be the output of the following code?def show_truth():    mysterious_var.append('New Surprise!')    print(mysterious_var) mysterious_var = ['Surprise!']print(mysterious_var)show_truth()print(mysterious_var)


Answer: B
Question 3

What is true about the following code snippet?list1 = [1, 2, 3]list2 = list1[:] 


Answer: B
Question 4

What will be the output of the following code?for a in range(1, 3): for b in range(1, 3): if a > b: continue else: print(a * b)


Answer: C
Question 5

Which of the following instruction(s) is/are corrects ways to update the value of a dictionary element under the key 'key'?


Answer: A,D
Page:    1 / 114      
Total 569 Questions | Updated On: Jun 24, 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.