Essay
Write a function called getYearOfBirth that prompts the user to enter their year of birth as a four-digit number, and returns the year entered. The function should throw a ValueError exception if the entered number is not within the range 1900 to the present year. Write a program that call this function, and keeps calling it until a valid year has been entered.
Correct Answer:

Verified
Correct Answer:
Verified
Q13: in Python, files are accessed through method
Q14: An exception is an object that is
Q15: Any of the sequence methods of Python
Q16: The newline character causes a new line
Q17: An exception is a value (object) that
Q19: The _ and _ string methods in
Q20: When a program opens a file in
Q21: When writing to or reading from to
Q22: Give Python code that, for any state
Q23: To open a file for writing in