Hi I wrote my masters thesis and it got A grade. I wrote 20,000 words on my own but I took help for the coding portion. Ideas were mine but he helped me putting them into action - discussing solutiouns, helped in debugging , helped in finding code from internet etc .Have I plagirised in any form ?
There are two independent issues here:
Did you take credit for someone else's work? To avoid this, you need to explain the situation clearly and explicitly in your thesis, so that nobody will give you more credit than you deserve. This has to be prominent enough to be noticed. (If the code is a major part of your thesis, then it's not enough to mention the assistance just in a footnote on page 85.)
Did you do enough yourself to fulfill the requirements for your degree? To ensure that this is the case, whoever grades your thesis (advisor, examiner, thesis committee) should be aware of the situation.
If you mentioned the assistance clearly in the thesis and your advisor was well aware of it, then you should be fine.
If you mentioned it clearly but your advisor was unaware, then you're probably OK, since it would be embarrassing for your advisor to admit that he/she didn't notice the clear statement in your thesis. But you should have made sure your advisor knew.
If your advisor knew but you didn't mention it clearly in the thesis, then you should have written it differently. You could be accused of academic dishonesty, but I think you are unlikely to get in trouble for it now, given that your advisor knew and hasn't objected. However, if you publish the thesis results, you should be sure to mention it then. (In my experience, people are more likely to get upset over credit issues for a publication than a master's thesis, so this is riskier.)
If your advisor didn't know and your thesis didn't mention it, then you are in a bad situation. You probably won't be caught, because it's not so easy for anyone to find out, but if people do find out then you could easily be accused of academic dishonesty. How serious this would be depends on the details of your case.