One thing to be aware of is that every Mac can update their macOS up to a certain level.
Thus, the first thing to determine being which Logic version she (you) will need for her course (or your project).
Logic latest version (v.10.6.3) requires a Mac that will run at least macOS 10.15.7
(that macOS is also named Catalina).
Normally, Logic is available from the Apple App Store and cost around $200.
The AppStore's app is by default already installed on all Mac computers.
I don't know if Logic's previous versions are still available on Apple AppStore. but Logic Pro 9.1.8 seems to be available from here
. Normally previous versions remain available in the Apple AppStore's user account if their license were already owned.
"Logic Pro technical specification" will yield useful information if you specify which Logic version you are looking for...
Perhaps telling us which Mac you are interested in, if we can read its specs, we could tell you which Logic version can be run onto it.
LogicPro 10.6.3, MainStage3.5.3
MBPro 17", Core2Duo, 8G, OSX 10.12.6
MacPro, Xeon 6Cores, 64GB, OSX 10.15.7
ULN8, MOTU MIDI TP-AV, C4, MCU Pro, KorgNano, Novation SLMkII
AAS, NI, Celemony, Spectrasonics, Korg, Arturia, etc...
PC, iPadPro 5th gen 12.9”(Duet D., V-Control & LogicRemote), AtariST(Notator SL), Several vintage gear