Getting answers from others is usually considered a form of cheating.
In 2012, 125 Harvard students were investigated for working together on a take-home final exam. The only rule on the exam was not to work together. Almost half of those students were determined to have cheated, and forced to withdraw from school for a year.
While it is fine to work in a team if your professor or teacher specifically allows for it, be sure to communicate with your teacher about guidelines on permissible collaboration (including how to attribute the contributions of others).
755 W. Michigan Street
Indianapolis, IN 46202