["I really wanted to get an A in this computer science class but hey I got a B so that's fine."]
Thats awesome. B is great and you'll smash it next time.
I really wanted to get an A in this computer science class that I took. Instead I got a B but that's good enough for me.