What's wrong with my python code?

x,y=map(float, raw_input().split())

bank_charges = 0.50
if (x%5 ==0)&(x<y):

print "Remaining balance in the account is:%s" %(y-(x+bank_charges))

elif (x%5!=0):
print y

else:
print “insuffiecient funds”

Actually you are not supposed to print the line “Remaining balance in the account is:%s” %(y-(x+bank_charges))"
You should only print the desired output rather than explaining the remaining balance…

There is no error in your program but if you are submitting it in online programming contests you should just print what is asked to print nothing extra.

else: print “insuffiecient funds”

print “Remaining balance in the account is:%s” %(y-(x+bank_charges))

should not be printed.
hope it is clear for you. for more query give the link of the question.

Thanks a lot :slight_smile: I do understand now

Thanks a lot :slight_smile: I do understand now