Python_Institute
PCEP-30-02 · Question #20
PCEP-30-02 Question #20: Real Exam Question with Answer & Explanation
Sign in or unlock PCEP-30-02 to reveal the answer and full explanation for question #20. The question stem and answer options stay visible for context.
Question
What is the expected output of the following code?
1 t1 = (1, 4, 9)
2 t2 = ('A', 'D', 'Z')
3 t3 = (True, False, None)
4 t4 = (5.0, 7.5, 9.9)
5
6 t1, t3 = t2, t4
7 print(t1)
Options
- AThe program will cause an error.
- B(1, 4, 9)
- C('A', 'D', 'Z')
- D(5.0, 7.5, 9.9)
Unlock PCEP-30-02 to see the answer
You've previewed enough free PCEP-30-02 questions. Unlock PCEP-30-02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.