MacBook Pro retina 15 or imac 27

I wonder what is the best to buy for school purposes, an iMac 27' or a MacBook Pro retina 15'.

Mac

Follow this Question