I don't know if the title of this post is explanatory and descriptive or not, but I shall be giving a detailed insight of my problem below.
So there is this committee in our college who organize various coding competitions, hold workshops and many more things related to technical studies. This year, in the month of May, they had organized their yearly project competition where there are groups of four who participate and make real world projects. You can't really tag it as a competition since their is no prize given to top scorers. It is merely for the sake of students to learn new programming languages and use it in practical life.
We are given a time period of 40-45 days to complete our project and prepare a presentation for the same. The groups are formed as per interest (not a compulsion for all to participate) and they are interviewed before the final decisions are made about the teams who would finally participate. So I had formed a team with these three other people and one among them had come up with the idea of our project (a website).
In the first week, we really didn't bother to look into it since we thought we had time. I do believe it is partially our fault for acting lazy and procrastinating. From the second week onward we focused into learning the languages and applying them, well at least it was true in my case. They were messaging that they too were doing their part of back-end while I focused on the front-end development.
Almost after 25-30 days of waiting (because they constantly said that they needed some more time to learn) they just dropped the bomb that were unable to code anything as they didn't understand. While on the other hand I had almost completed with designing the web pages and all. Two of the team members backed off during this time, so left were the other person and I. Even she didn't do anything other than proposing the idea at the very beginning. In the last ten days I had to work day through the night to complete the whole basic model of the project we had thought of developing in the first place. But when it was time to submit, the only person left, that other girl was adamant on adding her name in the list of "work done" list though she did absolutely nothing at all. I being the kind person that I am, added her name as the ideator and my name as the developer. That was the most I could have done. And when during the presentation I mentioned that I had worked on this project alone, diligently, the committee members (who are our seniors) were like, "You shouldn't belittle others, but speak of yourself with pride." That time I had replied like, "I am stating the facts, that's all."
What other ways should I have opted for defending myself without sounding insolent (though this is in the past, I would like to learn the polite way of back answering)?