If you claim the American Opportunity credit, then the cost of a computer needed for your studies can be included as qualified education expenses. However, the laptop must be paid for in the year you claim the credit. So if the laptop was paid for in 2018, you can only claim it in 2018 if you claim the American Opportunity credit in 2018.
In this case, you'll need to amend your 2018 tax return.
**Mark the post that answers your question by clicking on "Mark as Best Answer"
@MinhT1 - that computer has to be more than a 'need'; it has to be a REQUIREMENT of the class is my understanding of 'tuition and related fees' for Box 1.
Everyone in this day and age needs a computer, but that doesn't make it a REQUIREMENT of the class.