When I was in grade 12, I started to just show up to classes I needed to go to. I had high 90s, so I just went for clarification when I couldn't understand the textbook, and I showed up for every lab and test. That's what worked best for me as a learner. Unfortunately, missing classes didn't go over well with admin, and I was "disinvited" to be in school. I loved learning, and I did very well on tests and assignments, but I never actually finished high-school.
I didn't feel like a rebel or the trouble-maker they might have seen me as. I just found it painfully tedious to sit through lengthy explanations of something I already understood, and I was unable to (and not allowed to) just tune it out and do other work during class. Could you even imagine bringing a walkman to class?? It's rude to do other work while someone's talking, so every class was an exercise in tolerating the repetitive droning on and on until everyone understood and was quiet enough for me to finally start the homework questions.
Then I went to university a few years later, as a mature student, and nobody took attendance, and I could actually learn in the way that worked best for me. I went to most classes because they were full of rousing discussion, but I didn't go when profs (often "instructors") just literally read out the textbook to us. I thrived in that environment that enabled autonomy over my own learning and went on to do a masters as well.
Now universities take attendance, and it's vital to attend, in person, even if nothing significant is gained from my presence in the room for myself, for my prof, or for the class.