Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

if condition python

#if statement
house_payment=1000
buyer_has_payment= True
if buyer_has_payment:
    down_payment= 10/100*house_payment
else:
    down_payment= 20/100*house_payment
print('down payment',down_payment)
-------------------------------------------------------------------------------
 
PREVIOUS NEXT
Tagged: #condition #python
ADD COMMENT
Topic
Name
8+8 =