I must sound sad because I have an imaginary world, but I do. In my imaginary world, there is an imaginary school where the teachers let students take their Tamagotchi into class, as long as they don't play games- only feed it. The students can play games at lunch or recess or when they get all of their work done though!!
In the real world, at my school it depends what teacher you have. Last year there was a note saying "no electronics." This year I haven't seen one, it must be some kind of unwritten rule because barely anyone brings anything electronic (except for calculators or thumb drives) or maybe it's because everyone keeps it secret? Anyway, one of my friends is in a different class and she takes hers into class with her and she doesn't get into trouble.
Last year I was allowed to take mine into class to use as a watch because the classroom clock was broken. I just kept the sound off and kept it on pause.