Hold your horses gentleman.
Please read carefully:
"Given the dimensions of a brick (width, height, length in cm) and the number of bricks ordered, calculate how much plastic, in grams, is required (if a cubic centimetre weighs 7 grams)"
Then observe parameters given in function (width_brick, height_brick, length_brick, number_of_bricks) and comment about it:
# DO NOT CHANGE
# THE HEADER OF THE FUNCTION WHICH HAS BEEN PROVIDED FOR YOU
# ABOVE
Therefore this function is as simple as:
Please read carefully:
"Given the dimensions of a brick (width, height, length in cm) and the number of bricks ordered, calculate how much plastic, in grams, is required (if a cubic centimetre weighs 7 grams)"
Then observe parameters given in function (width_brick, height_brick, length_brick, number_of_bricks) and comment about it:
# DO NOT CHANGE
# THE HEADER OF THE FUNCTION WHICH HAS BEEN PROVIDED FOR YOU
# ABOVE
Therefore this function is as simple as:
def amount_of_plastic(width_brick, height_brick, length_brick, number_of_bricks): return width_brick * height_brick * length_brick * number_of_bricks * 7EDIT: this is useful read: What is the difference between arguments and parameters?
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.