You are viewing a single comment's thread. Return to all comments →
Try now, I have updated the statement :)
Thank you for the follow-up shashank21j, your revision to the statement has been helpful, but I still have some questions about the way the question is worded and why.
1.Why must i+j+k not be equal to N and does this mean it can be greater than N?
2.Please define "lexicographic increasing order"
I for one agree that list comprehension in python is a fairly simple subject, the crux of this problem for me however, is bridging the communication gap/understanding the essance of the problem you're asking.
Many people who use your site are self taught in coding and do not have a formal discrete mathematics background.
i + j + k != N is just an added condition in this problem so you can use 1 if statement inside your list compehension syntax. It can be greater than N as long as i, j and k are in their respective limits.
Thanks again shashank21j! :)
Shouldn't the statement include that X,Y,Z are integers that are possible maximums? It is a fairly important point no? For example dimensions of 2,2,2 given the statement as it currently is, means there is only 1 possible cube with 8 coordinates.
Where as if we said that 2 is the max integer value for X,Z,Y , we can have more than 1 possible cuboid. For example a 1,1,2 cuboid.
As a beginner - this is easily the hardest to understand question I have come across on any of these websites yet. I sat at my computer for about 2 hours just trying to understand what it is you want me to do and I still don't get it. I don't have a mathematics background, but I'm fairly resourceful and intelligent - even with researching and reading support material I still cannot get a grasp on what it is you are asking.