The time you spend on the course, and the time spent by your instance running workloads are two completely separate things.
Your cost per-hour is accurate (plus a few bucks for an IP address), but the number of hours is off by an order of magnitude.
Also, I'm paying double that per instance per month for SSD using the provided scripts to build the instances. It's the smallest part of the cost, but I mention it because it can take newcomers to EC2 by surprise if they have an instance shut-down but consuming disk space.