Beginner's Level Solution | Python
Any Suggestions or Doubts?\nPut in comments..\nPlease UpVote, if you like the solution :)\n\n    def findLonely(self, nums):\n        ans, dic = [], {}\n       
Any Suggestions or Doubts?\nPut in comments..\nPlease **UpVote**, if you like the solution **:)**\n```\n    def findLonely(self, nums):\n        ans, dic = [], {}\n        for n in nums:\n            if n not in dic: dic[n] = 1\n            else: dic[n] += 1\n        for n in dic:\n            if dic[n] == 1 and n-1 not in dic and n+1 not in dic:\n                ans.append(n)\n        return ans\n```\n**UpVote :)**
['Python', 'Python3']