Answers for "We want to estimate the cost of painting a property. Interior wall painting cost is Rs.18 per sq.ft. and exterior wall painting cost is Rs.12 per sq.ft."

0

We want to estimate the cost of painting a property. Interior wall painting cost is Rs.18 per sq.ft. and exterior wall painting cost is Rs.12 per sq.ft.

intr = int(input())
extr = int(input())


i_l=[float(input()) for _ in range(intr)]
e_l=[float(input()) for _ in range(extr)]

cost = (sum(i_l) * 18) + (sum(e_l) * 12)
print(cost," INR")
Posted by: Guest on June-12-2021

Code answers related to "We want to estimate the cost of painting a property. Interior wall painting cost is Rs.18 per sq.ft. and exterior wall painting cost is Rs.12 per sq.ft."

Python Answers by Framework

Browse Popular Code Answers by Language