Answer: 40 people
Step-by-step explanation:
There were 5 pies in the party and each person that came got an equal share of 1/8.
The number of people who were there is therefore:
= Number of pies / Share each person got
= 5 ÷ 1/8
= 5 * 8/1
= 40 people