Single Number Leetcode Python Questions For Loops With Dictionaries