Skip to content

Commit

Permalink
New solution to Cost of Tile
Browse files Browse the repository at this point in the history
  • Loading branch information
dsub15 committed Jan 22, 2015
1 parent 40c7c91 commit f2adae5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tile.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
def floor(width, height, cost):
#cost is per square inch
area=width*height
return cost*area

0 comments on commit f2adae5

Please sign in to comment.