Yes. If you are attending the live classes or a special event in-person, then a laptop is best. You really don’t want to carry a thirty pound desktop computer plus monitor to the classroom.
Another option is to attend remotely. Remote attendance is still a live class. You just get to attend from wherever you are that has a good internet connection. You can attend from home and use your home computer. Or you can attend from a coffee shop while traveling.
It helps to have a large monitor for your computer so you can see the live class at the same time that you can see your own screen.