GIAC
GPYC · Question #12
GPYC Question #12: Real Exam Question with Answer & Explanation
The correct answer is A. 539. See the full explanation below for the reasoning.
Question
Review the following Python 3 code.
while True:
try:
n = input("Enter a number: ")
n = int(n)
break
except ValueError:
print("Not an integer")
print("Thank you")
Options
- A539
- B4a6e
- C(52-4)
- Dthree
Community Discussion
No community discussion yet for this question.