hi. wondering if someone can take a few min to help me out.
Well im taking this opencourseware from MIT, intro to programing. I got this assignment
and I could do it on my own... the only problem is I dont understand what the hell they want me to do for problem 2.
Its like... it doesnt tell me what the input should be exactly. I dont think its clear. I get that they want me to make a set of circles, squares and triangles. So I figured it would be best to make 3 lists and then put in the specs (base height for triangle, radius for circle, side for square) as tuples inside the lists.
But then I get to this point and im like.... What is the input thats going in? Are they a bunch of unnamed circles and squares? If a triangle has 2 attributes and a circle has 1, how can I enter them into the method? If I enter a circle wont it put up an error that says the method needs 2 variables? (because triangle is 2 variables).
Im really confused. I managed to do all of the others without help, but this one is too confusing. Please help someone, otherwise ill just skip it.