Python Institute PCAP-31-03 - Certified Associate in Python Programming
Which line can be used instead of the comment to cause the snippet to produce the following expected output? (Select two answers)
Expected output:
1 2 3
Code:
Which of the following expression evaluate to True? (Select two answers)
A variable stored separately in every object is called:
If you want to transform a string into a list of words, what invocation would you use? (Select two answers)
Expected output:
Which of the following statements are true? (Select two answers)
Which of the following snippets will execute without raising any unhandled exceptions? (Select answers)
A)
B)
C)
D)
What is the expected behavior of the following snippet?
It will:
Which of the following statements are true? (Select two answers)
What is the expected output of the following snippet?
Assuming that the following inheritance set is in force, which of the following classes are declared properly? (Select two answers)