A simple painting cost calculator.


So, talking about this project this is a very simple and easy to understand code which is created by me. I know it is a very basic and easy code but i just wrote it to understand how python really works and it works in a way how i expected it to. Basically this project can be used in hardware to know the cost of painting a room with a rate of Rs40/ft. The rate can be changed by the way. Have a look at the project :


print("Welcome to bindra hardware!!")
erd = input('Do you want to paint your house with some premium colors? ')
if erd == 'yes' :
print("oh okay so please can you tell us some information about your room ?")
length = int(input('what is the length of your room?(in ft) : '))
height = int(input("Atlast! height of your room? : "))
rate = 40
area = (length * height)
cost = (area * rate)

print('Your total cost will be Rs' ,(cost) , ' to paint your house with such a premium colors )')

Comments

Popular Posts