problem 1) After studying population of Gotham City in the last decade of the twentieth century the population is modelled as:
P(t) = 52.966 + 2.184t
where t is years after 1990 and P is population in thousands
P(0) represents population in 1990 which was 52.966 thousand people.
prepare a program which defines a function named population which predicts Gotham's population in the year provided as an input argument. The program should call function and interacts with user as follows:
Enter the year after 1990> 2015
Predicted Gotham City population for 2010 (in thousands): 107.566
problem 2) prepare the program that reads words from the file read.txt, find out whether or not it is a palindrome and output to a file the word. Use string functions.