this is the solution on the probelms in anand python text book..