Become Python Institute Certified with updated PCEP-30-02 exam questions and correct answers
What will be the output of the following code?print(1 | 0 ^ 1 & ~0)
What will be the sum of all elements in the list after the following operations?numbers = [0, 1, 2]numbers.insert(0, 1)del numbers[1]
What will be the output of the following code snippet?dict1 = {'one': 1, 'two': 2, 'three': 3}dict2 = {'one': 1, 'two': 5, 'four': 8}dict3 = dict(dict1)dict4 = dict(dict2)dict3.update(dict2)dict4.update(dict1)print(dict3 == dict4)
Assuming that the following assignment has been successfully executed:My_list – [1, 1, 2, 3]Select the expressions which will not raise any exception.(Select two expressions.)
What will be the output of the following code?def boo(x): if x == 1: return x return x * boo(x-1) print(boo(3))
© Copyrights DumpsCertify 2026. All Rights Reserved
We use cookies to ensure your best experience. So we hope you are happy to receive all cookies on the DumpsCertify.