It depends on the prank. If it's something harmless that just gives everyone a small laugh, that's fine. For example, writing on the blackboard that there is a pop quiz and sign it as the teacher.A bad example would be placing a raw egg on the teachers chair or putting a stink bomb in the teacher's lounge. That would be crossing the line.