number of good pairs leetcode python

visit shbcf.ru