GIAC
GPYC · Question #28
GPYC Question #28: Real Exam Question with Answer & Explanation
Sign in or unlock GPYC to reveal the answer and full explanation for question #28. The question stem and answer options stay visible for context.
Question
Which of the following is the final output when program.py is executed with a Python Interpreter?
student$573:~ cat program.py
a = 10
a = 5
print(a)
student$573:~ python program.py
Options
- A15
- B5
- C10
- DSyntaxError: invalid syntax
Unlock GPYC to see the answer
You've previewed enough free GPYC questions. Unlock GPYC 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.