PCAP-31-03試験無料問題集「Python Institute Certified Associate in Python Programming 認定」

Assuming that the following code has been executed successfully, select the expressions which evaluate to true.
(Select two answers.)

How many lines does the following snippet output?

What is the expected behavior of the following code?

Files with the suffix .pyc contain:

Select the valid fun () invocations:
(select two answers)
def fun (a, b=0):
return a*b

Which of the following lines of code will work flawlessly when put independently inside the add_new () method in order to make the snippet's output equal to [0, 1, 21 ? (Select two answers)

Assuming that the code below has been placed inside a file named code.py and executed successfully which of the following expressions evaluate to True? (Select two answers)

Which of the following literals reflect the value given as 34.23? (select two answers)

解説: (GoShiken メンバーにのみ表示されます)
A method for passing the arguments used by the following snippet is called:

Which of the following lambda definitions are correct? (Select two answers)

If you need to serve two different exceptions called Ex1 and Ex2 in one except branch, you can write:

You are going to read just one character from a stream called s. Which statement would you use?

解説: (GoShiken メンバーにのみ表示されます)