Skip to content

Commit 9508782

Browse files
Brick Volume modify round() fun
1 parent a68b215 commit 9508782

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

10X/Python/FUNCTION/Brick_Volume.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,11 @@ def calculate_total_price_of_bricks(dimensions, brick_count):
5252
w=dimensions[0]
5353
if dimensions[1]!=-1 and dimensions[1]>0:
5454
h=dimensions[1]
55-
v=volume(100,width=w,height=h)
56-
vol=(v*brick_count)
55+
vol=(volume(100,width=w,height=h)*brick_count)
5756
return calculate_price(vol)
5857

59-
def round(price):
60-
return int(price)
58+
#def round(price):
59+
# return int(price)
6160

6261

6362

0 commit comments

Comments
 (0)