python if n == "" code example
Example: example of input int questions in python with if statement
print "Enter quantity"
quantity = input()
if quantity*100 > 1000:
print "Cost is",((quantity*100)-(.1*quantity*100))
else:
print "Cost is",quantity*100