NZEC Runtime Error

inpt = raw_input()
withdraw, initial = [float(i) for i in inpt.split(’ ')]

if float(withdraw) > 0 and float(initial) >=0:
	    if float(initial) - float(withdraw)>0 and float(withdraw)%5==0: 
	    final = float(withdraw) + 0.50
	    print float(initial)-final
    else:
	    print initial

put return 0;
at the end before main… this error means your program is not returning zero

pls go through this link…

please search for a few similar ques, before asking new ones…as they may have been already answered…:slight_smile:

not required…this is not c!!!

//