BIT BY BYTE
Question 1 of 1
2 marks
A student writes `age = input("Age: ")` then `print(age + 1)` and the program crashes. Explain why.
`input()` returns a string, so `age` is text. You can't add 1 to text. Cast first with `int()`.
`print()` can't display numbers.
You can't use `+` inside a print statement.
The variable `age` is reserved in Python.
Check Answer