Python Finance programs

 ##Personal finance program By Sam 50-30-20 rules

salary=int(input("Enter salary="))

needs=0.5 * salary

wants=0.3 * salary

savings=0.2 * salary

print("Your needs=",int(needs))

print("Your  wants=",int(wants))

print("Your savings=",int(savings))

Comments

Popular posts from this blog

Pattern python