I’m going through Python Crash Course, 2nd edition, by Eric Matthes.
He posts solutions for “Try It Yourself” questions for all chapters except 12, 13, and 14, which cover his Alien Invasion project. This is the solution I came up with for 13-2. Better Stars, on p. 264.
This post will likely only make sense to people also working through the problem sets in the book.
Continue reading Better Stars solution