Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Python Institute Exam PCAP-31-03 Topic 6 Question 79 Discussion

Actual exam question for Python Institute's PCAP-31-03 exam
Question #: 79
Topic #: 6
[All PCAP-31-03 Questions]

What is the expected behavior of the following code?

Show Suggested Answer Hide Answer
Suggested Answer: C, D

Contribute your Thoughts:

Aleisha
3 days ago
I'm not sure, but I think the code will output 321, so option C) might be the right choice.
upvoted 0 times
...
Glory
4 days ago
I disagree, I believe it will raise an exception, so option B) is the correct answer.
upvoted 0 times
...
Jarvis
4 days ago
Hmm, this looks like a tricky one. I'm gonna go with option B - it raises an exception. Gotta love those pesky Python exceptions!
upvoted 0 times
...
Monte
5 days ago
I think the expected behavior is option A) It outputs 123.
upvoted 0 times
...

Save Cancel