Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Initialize VAR_DIMENTIONS in a list of positive integers
- Initialize VAR_NUMBER as an integer
- Define function to calculate the TOTAL_AMOUNT
- Set TOTAL_AMOUNT to 1
- For each item in VAR_DIMENTIONS
- Set TOTAL_AMOUNT to product of VAR_DIMENTIONS
- Return TOTAL_AMOUNT
- Set TOTAL_AMOUNT to TOTAL_AMOUNT times VAR_NUMBER times 7
- Print TOTAL_AMOUNT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement