Become Python Institute Certified with updated PCEP-30-02 exam questions and correct answers
What will be the output when the user provides the number 6?num = int(input('give a number: '))if num > 2: if num < 5: print('A') else: print('B')else: print('C')
What are built-in Python functions?
What will be the output of the following code?def get_number(): for i in []: yield i print(next(get_number()))
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])
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])
© 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.