Scoring responses and showing total points at the end

It is much easier for us to suggest changes to code if you post the actual code in to your message as text, rather than as screen shots (we can’t cut and paste from that), as follows:

In this case, be aware that languages like Python use different operators for testing equality (i.e. a == b) vs assignment (i.e. a = b).