Ladder Energy Cost Calculator general computing

print ( "Welcome to the Energy Cost Calculator")
elec_num = 1876
CHARGE of = (240 .4678) + (400-240) .5455 + (elec_num-400) * 0.76
print ( "Your electricity consumption this month:")
Print ( elec_num)
Print ( "you bill this month for")
Print (CHARGE of)

print ( "Welcome to the checkout procedure")
Goods = the INPUT ( "Please enter the name of the goods")
. price = the INPUT ( "Please enter a price")
NUM = the INPUT ( "Please enter the quantity of goods")
Total = float (. price) int ( NUM)
Print ( "goods should actually paid amount")
Print (Total)
alplay = Total
0.9
Print ( "Alipay payment amount should be 10% off")
Print (int (alplay))

Guess you like

Origin blog.51cto.com/10805472/2455912