Can I include laptop/desktop as a Education expense?

I took 4 online classes and 1 class on the university campus. The 1 class i took on campus was heavily reliant on Blackboard. I originally bought a secondhand desktop computer to use to to access the classes and do work on but a month into the semester that I wasn't even spending enough time at home since I was at work almost 10 hours of the day. I ended up buying a second hand laptop so I can do some homework while I was at work. 

The thing is, I did get a grant that covered tuition and the required textbooks so I bought the laptop and desktop out of pocket.  

Can I count the laptop and desktop as education expenses?