She got A's in her math homework by using her pocket calculator. She was not allowed to use the calculator at school.(long sentence)
She got A's in her math homework by using her pocket calculator, but she was not allowed to use the calculator at school.