The task is to define a function that matches the following rules:
All shapes have the same area.
Height of the last shape is a constant and is always equal to 1.
- shape nrumber (integer)
- total number of shapes (integer)
- height of a shape (real number)
There are six shapes on the picture (see attachment).
1st – yellow shape
2nd – red shape
3rd – green shape
4th – light blue shape
5th – dark blue shape
6th – grey shape
shape number: 2
number of shapes: 6
height of a shape: 0.577
13 freelancers are bidding on average €9/hour for this job
I'm very good at Python. From functional programming, to object oriented programming. Experience with pygame, tkinter, kivy,... all sorts of gui-based libraries.