BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Python Institute PCAP-31-03 Exam - Topic 2 Question 104 Discussion

Posted by Tiera on May 29, 2026 at 07:21 PM

What is the expected output of the following code?

Suggested Answer: A

Get Premium PCAP-31-03 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
17 comments · newest first
SH
Shawnee 2 months ago
D) 12 might be a common mistake.
CO
Cornell 2 months ago
C) 3 could be a tricky option.
PH
Phyliss 3 months ago
B) 2 is too low, I doubt it.
CA
Carmela 3 months ago
A) 21 makes sense with the logic.
AN
Anabel 3 months ago
D) 12 seems right to me.
IZ
Izetta 3 months ago
I lean towards C) 3.
AN
Anglea 3 months ago
I feel like it's B) 2.
DE
Deonna 3 months ago
I think the answer is A) 21.
CA
Carmen 4 months ago
I agree, 12 makes the most sense here.
GE
German 4 months ago
Wait, how can it be 21? That seems off.
YO
Yoko 4 months ago
Definitely 21, no doubt about it!
BE
Bettina 4 months ago
I think it's 3, not 12.
SH
Shaniqua 4 months ago
I'm pretty sure the output is 12.
BI
Billye 4 months ago
I’m leaning towards 21 because it seems like the code is doing some multiplication, but I need to double-check my notes.
CA
Candida 5 months ago
I feel like the answer could be 3, but I can't recall the exact logic behind it.
PA
Paulene 5 months ago
I remember a similar question where we had to calculate the output based on function calls. I think it might be 12, but I could be wrong.
LA
Laquita 5 months ago
I think the code is supposed to add some numbers together, but I'm not entirely sure how the output works.
0/2000 characters

Save Cancel