Created
June 8, 2024 11:44
-
-
Save djassie/53149d73d94cf799cb5407b0cd198f70 to your computer and use it in GitHub Desktop.
Total Salary Earned by a West Bengal Gove Employee
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yearly_salary = 660000 | |
# This salary is taken into account of a BDO - oficer | |
# This is calculate total salary earned by a Govt Employee in West Bengal (55000 per month in hand), with 4% increment yearly - 35 years service | |
# most optimistic salary saved is 60% - to average optimistic 45% | |
years = 0 | |
total_salary_earned = yearly_salary | |
total_salary_earned_in_cr = total_salary_earned/10000000 | |
total_salary_saved_in_cr = total_salary_earned_in_cr * 0.45 | |
monthly_salary = yearly_salary/12 | |
while(years<35): | |
# total_salary_saved_in_cr += total_salary_earned_in_cr * 0.6 | |
print("year="+str(years)+" monthly salary="+str(monthly_salary)+" total salary earned in cr "+str(total_salary_earned_in_cr) | |
+ " total money saved in cr="+str(total_salary_saved_in_cr)) | |
yearly_salary = yearly_salary*(1.04) | |
total_salary_saved_in_cr = total_salary_saved_in_cr + ((yearly_salary * 0.45)/10000000)*1.06 #considering fixed deposit 6% | |
total_salary_earned += yearly_salary | |
monthly_salary = yearly_salary/12 | |
total_salary_earned_in_cr = total_salary_earned/10000000 | |
# print("year="years " monthly salary="yearly_salary/12" total salary earned in cr "total_salary_earned/10000000) | |
# print("year="+str(years)+" monthly salary="+str(monthly_salary)+" total salary earned in cr "+str(total_salary_earned_in_cr)) | |
# print("years="+years) | |
years += 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment