python - elif statement does not work -
I am sorry for this, but I am starting a whole and nothing that I try is just false Is anyone going to give me a small thought of being wrong in my alif statement, so can I keep it? (I also know that 0% of 0% is the current fault, only testing the theory)
one = (1) three = (2) four = (4) 5 = (If Stamp duty> = 1 and Stamp duty = <125000: plus = (Stamp duty = one / 100.0) addamount = stampduty + Add print (5) seven = 7 (7) stamp duty = int (input "Enter the amount of residential property")) "Stamp duty percent 0% \" is your stamp duty amount "adimant") Alif: plus = sum = (Stamp duty * A / 100.0) addamount = stampduty + Add print ("Stamp Duty Percent 0% \ n Your Stamp Duty Amount", Addamount)
alif
requires a condition, such as if
statement if you want a non-block, then else < / Code> Use:
if stampduty> gt; = 1 and stampduty & lt; = 125000: add = (stampduty * one / 100.0) addamount = Add Stamp Duty + Print ("Stamp duty percent 0% \ n is your stamp duty amount", AdMount) Other: add = ed = (Stamp duty * one / 100.0 ) Addamount = add stampduty + print ("Stamp duty percent 0% \ n your stamp duty amount is", addamount)
Comments
Post a Comment