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 8 Question 13 Discussion

Posted by Abel on May 06, 2022 at 07:44 AM

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
11 comments · newest first
QU
Quentin 1 year ago
I agree, 21 makes sense based on the logic!
JE
Jeannetta 1 year ago
Wait, how can it be 21? That seems off.
ME
Melita 1 year ago
Definitely going with 3.
RO
Rosalind 1 year ago
I think it's actually 12.
MA
Maynard 1 year ago
The output should be 21.
RO
Roosevelt 1 year ago
I’m leaning towards 2, but I’m not confident. I wish I had practiced more with these types of problems!
DE
Denny 1 year ago
I feel like the answer could be 12, but I need to double-check how the variables interact in the code.
LI
Linn 1 year ago
I think the output might be 21, but I'm not entirely sure how the operations are being applied.
TA
Tayna 1 year ago
I remember a similar question where the output was 3, but I can't recall the exact logic behind it.
KA
Kanisha 1 year ago
I'm pretty sure the corporate tax rate in Singapore is capped at 17%, so I'll go with option A.
DE
Delfina 1 year ago
I'm hesitant because I could see a terminal option being used for testing, but I think it's primarily web-based for the Meraki Dashboard.
0/2000 characters

Save Cancel