Skip to content

Commit f2adae5

Browse files
committed
New solution to Cost of Tile
1 parent 40c7c91 commit f2adae5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: Tile.py

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
def floor(width, height, cost):
2+
#cost is per square inch
3+
area=width*height
4+
return cost*area

0 commit comments

Comments
 (0)